Class
RoutedEvent

Represents and identifies a routed event and declares its characteristics.

Definition

Namespace:Telerik.UI.Xaml

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public sealed class RoutedEvent

Inheritance: objectRoutedEvent

Fields

LogicalParentProperty

Identifies the LogicalParent attached property.

Declaration

cs-api-definition
public static readonly DependencyProperty LogicalParentProperty

Field Value

DependencyProperty

Properties

HandlerType

Gets the handler type of the routed event.

Declaration

cs-api-definition
public Type HandlerType { get; }

Property Value

Type

Name

Gets the identifying name of the routed event.

Declaration

cs-api-definition
public string Name { get; }

Property Value

string

OwnerType

Gets the registered owner type of the routed event.

Declaration

cs-api-definition
public Type OwnerType { get; }

Property Value

Type

RoutingStrategy

Gets the routing strategy of the routed event.

Declaration

cs-api-definition
public RoutingStrategy RoutingStrategy { get; }

Property Value

RoutingStrategy

Methods

AddOwner(Type)

Associates another owner class with this routed event, and enables routing of the event and handling on this class.

Declaration

cs-api-definition
public RoutedEvent AddOwner(Type ownerType)

Parameters

ownerType

Type

The type of the class where the routed event is added.

Returns

RoutedEvent

The identifier field for the event. This return value should be used to set a public static read-only field that will store the identifier for the representation of the routed event on the owning class. This field must be accessible because it will be required to attach any instance handlers for the event when using the AddHandler utility method.

GetLogicalParent(DependencyObject)

Gets the logical parent of the specified element.

Declaration

cs-api-definition
public static DependencyObject GetLogicalParent(DependencyObject obj)

Parameters

obj

DependencyObject

Returns

DependencyObject

SetLogicalParent(DependencyObject, DependencyObject)

Sets the logical parent of the specified element.

Declaration

cs-api-definition
public static void SetLogicalParent(DependencyObject obj, DependencyObject value)

Parameters

obj

DependencyObject

value

DependencyObject

ToString()

Returns a string that represents the current object.

Declaration

cs-api-definition
public override string ToString()

Returns

string

A string that represents the current object.

Overrides object.ToString()