Windows Presentation Foundation (WPF) Question:

Download Job Interview Questions and Answers PDF

List the different kinds of Routed events in WPF?

WPF Interview Question
WPF Interview Question

Answer:

There are three types of Routed events in WPF. They are:
★ Direct:
This event can only be raised by the element in which it was originated.
★ Tunneling:
This event is first raised by the element in which it was originated and then it gets raised by each consecutive container in the visual tree.
★ Bubbling:
This event is first raised by the uppermost container in the visual tree and then gets raised by each consecutive container lying below the uppermost one, till it reaches the element it where it was originated.

Download WPF Interview Questions And Answers PDF

Previous QuestionNext Question
Which NameSpace has 'Thumb' and 'Popup' controls?Explain the difference between Events and Commands in the MVVM model?