EditCategory
Routed Events
EditQuestion
What are the different Routing Strategies availlable?
EditAnswer
There are three routing strategies availlable.
- Bubbling
- Tunneling
- Direct
A Bubbling event is one which propagates from an element towards its ancestor. The starting point of the event is the Original Source of the event, while the ending point is the highest possible ancestor. This is often considered as the informal "default" routing strategy.
A Tunneling event is one which propagates from an element towards its children. The starting point of the event is the highest ancestor of the Original Source of the event, while the ending point is the Original Source itself (the "route" of the event is the exact opposite of that of a Bubbling event).
A Direct event is one which will not route in any direction, it will be sent only to the Original Source. This is the equivalent of a CLR event
EditKeywords
bubbling, tunneling, bubble, tunnel, routingstrategy, routing strategy