ClassRoutedEvent
Represents and identifies a routed event and declares its characteristics.
Definition
Namespace:Telerik.UI.Xaml
Assembly:Telerik.WinUI.Controls.dll
Syntax:
public sealed class RoutedEvent
Inheritance: objectRoutedEvent
Fields
LogicalParentProperty
Identifies the LogicalParent attached property.
Declaration
public static readonly DependencyProperty LogicalParentProperty
Field Value
DependencyProperty
Properties
HandlerType
Gets the handler type of the routed event.
Name
Gets the identifying name of the routed event.
OwnerType
Gets the registered owner type of the routed event.
RoutingStrategy
Gets the routing strategy of the routed event.
Declaration
public RoutingStrategy RoutingStrategy { get; }
Property Value
Methods
AddOwner(Type)
Associates another owner class with this routed event, and enables routing of the event and handling on this class.
Declaration
public RoutedEvent AddOwner(Type ownerType)
Parameters
ownerType
The type of the class where the routed event is added.
Returns
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
public static DependencyObject GetLogicalParent(DependencyObject obj)
Parameters
obj
DependencyObject
Returns
DependencyObject
SetLogicalParent(DependencyObject, DependencyObject)
Sets the logical parent of the specified element.
Declaration
public static void SetLogicalParent(DependencyObject obj, DependencyObject value)
Parameters
obj
DependencyObject
value
DependencyObject