EnumRoutingDirection
Defines the routing directions for routed events in the Telerik WinControls framework.
Definition
Namespace:Telerik.WinControls
Assembly:Telerik.WinControls.dll
Syntax:
public enum RoutingDirection
Fields
Bubble
Indicates a bubbling event that travels from the target element up through the element hierarchy.
Declaration
Bubble = 1
Field Value
Remarks
Bubbling events start at the target element and travel upward through parent elements toward the root of the element tree. This allows parent elements to respond to events that originated in their child elements, enabling common patterns like event delegation and aggregate handling.
Tunnel
Indicates a tunneling event that travels from the root element down to the target element.
Declaration
Tunnel = 0
Field Value
Remarks
Tunneling events (also known as preview events) start at the root of the element tree and travel downward through parent elements until they reach the target element. This allows parent elements to preview and potentially handle or cancel events before they reach their intended target, providing opportunities for validation, filtering, or preprocessing.