Enum
RoutingDirection

Defines the routing directions for routed events in the Telerik WinControls framework.

Definition

Namespace:Telerik.WinControls

Assembly:Telerik.WinControls.dll

Syntax:

cs-api-definition
public enum RoutingDirection

Fields

Bubble

Indicates a bubbling event that travels from the target element up through the element hierarchy.

Declaration

cs-api-definition
Bubble = 1

Field Value

RoutingDirection

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

cs-api-definition
Tunnel = 0

Field Value

RoutingDirection

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.

In this article
DefinitionFieldsBubbleTunnel
Not finding the help you need?
Contact Support