Windows Presentation Foundation (WPF) Question:

List the different kinds of Routed events in WPF?

Tweet Share WhatsApp

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 PDF Read All 57 WPF Questions
Previous QuestionNext Question
Which NameSpace has 'Thumb' and 'Popup' controls?Explain the difference between Events and Commands in the MVVM model?