Which of the following statements are TRUE?

You are employed as an application developer at ABC.com. You make use of Microsoft .NET
Framework 4 to develop Windows Presentation Foundation (WPF) applications.
You have recenty created an application, and cofigured it to have a composite user control. You
also configured the user control to have a TextBox control, named txtEntry. You then configure the
user control to be stored in a window, and include the following code in the constructor of the user
control:
AddHandler(TextBox.TextChangedEvent, new RoutedEventHandler(Audit_TextChanged), true);
Which of the following statements are TRUE? (Choose all that apply.)

You are employed as an application developer at ABC.com. You make use of Microsoft .NET
Framework 4 to develop Windows Presentation Foundation (WPF) applications.
You have recenty created an application, and cofigured it to have a composite user control. You
also configured the user control to have a TextBox control, named txtEntry. You then configure the
user control to be stored in a window, and include the following code in the constructor of the user
control:
AddHandler(TextBox.TextChangedEvent, new RoutedEventHandler(Audit_TextChanged), true);
Which of the following statements are TRUE? (Choose all that apply.)

A.
A text-changed event handler, named Audit_TextChanged, was created for the txtEntry control.

B.
Audit_TextChanged will stop running because the event is marked as handled by certain event
handlers

C.
Even though the event is marked as handled by certain event handlers, Audit_TextChanged will
still run.

D.
Audit_TextChanged will continue to run until the event is marked as handled.

Explanation:



Leave a Reply 0

Your email address will not be published. Required fields are marked *