Enum
EventBehaviorSenderType

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:

cs-api-definition
public enum EventBehaviorSenderType

Fields

AnySender

Indicates that the event behavior should be triggered for any sender, regardless of its type or name.

Declaration

cs-api-definition
AnySender = 0

Field Value

EventBehaviorSenderType

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

cs-api-definition
ElementName = 2

Field Value

EventBehaviorSenderType

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

cs-api-definition
ElementType = 1

Field Value

EventBehaviorSenderType

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.

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