Pages

Men

rh

7/21/2012

What are the event routing strategies in WPF

What are the event routing strategies?
There are 3 types of routing strategies

Tunnelling travels towards to the leaves of the visual/logical tree

Bubbling travels towards the root of the visual/logical tree

Direct can only be handled by the object that raised the event

In WPF, if an event is defined to tunnel and bubble, tunnelling occurs first (as a preview event) and then once reaching the source, the event bubbles back to the root

No comments :

Post a Comment