In a typical WPF application, it contains many elements. These elements exist in an element tree relationship with each other. A routed event is a type of event that can invoke handlers on multiple listeners in an element tree, rather than just on the object that raised the event.
Routing events uses one of the three following strategies:
-
Bubbling: Event handlers on the event source are invoked.
-
Direct: Only the source element itself is given the opportunity to invoke handlers in response.
-
Tunneling: Initially, event handlers at the element tree root are invoked.
|