PrepAway - Latest Free Exam Questions & Answers

What should you do ?

You are developing a user control for Windows Presentation Foundation (WPF) application.

The user control contains a button. Both the user control and the hosting control must receive the button click event.

You need to ensure that the user control responsd to the button click event before hosting control responds to the event.

What should you do ?

PrepAway - Latest Free Exam Questions & Answers

A.
Use a bubbling routed event. In the button click event handler, set the Handled property to True

B.
Use a bubbling routed event. In the button click event handler, set the Handled property to False

C.
Use a standard Microsoft .NET event. Set Handled property to true.

D.
Use a tunneling routed event. Set the handled property to false.


Leave a Reply