EnumEventBehaviorSenderType
Defines the types of senders that can be matched for event behavior filtering in the routed event system.
Definition
Namespace:Telerik.WinControls
Assembly:Telerik.WinControls.dll
Syntax:
public enum EventBehaviorSenderType
Fields
AnySender
Indicates that the event behavior should be triggered for any sender, regardless of its type or name.
Declaration
AnySender = 0
Field Value
Remarks
This option provides the broadest matching criteria, allowing event behaviors to respond to events from any element in the system without sender-specific filtering.
ElementName
Indicates that the event behavior should be triggered only for senders with a specific element name.
Declaration
ElementName = 2
Field Value
Remarks
This option enables name-based filtering, allowing event behaviors to respond only to events raised by elements with a specific name, providing the most precise sender identification.
ElementType
Indicates that the event behavior should be triggered only for senders of a specific element type.
Declaration
ElementType = 1
Field Value
Remarks
This option enables type-based filtering, allowing event behaviors to respond only to events raised by elements of a particular class or type, providing more targeted event handling.