Event bubbling and tunneling Routing strategies.

To understand the process of bubbling and tunneling let's take an example of a simple application which has been broke down in to its visual tree.
11.png


Bubbling Strategy:
In this strategy, we start with the control that originated the event and traverse up the tree as shown in the tree below:

22.png



Tunneling Strategy:
In this Strategy, when an event is fired, you go all the way to the root and traverse down until you hit the control that originated the event as shown in the tree below:

33.png



Next Recommended Reading Mouse Enter and Mouse Leave Event in WPF