Class RoutedEvent
Represents and identifies a routed event and declares its characteristics.
Inheritance
Namespace: Telerik.Windows
Assembly: Telerik.Windows.Controls.dll
Syntax
public sealed class RoutedEvent : Object
Fields
LogicalParentProperty
Identifies the LogicalParent attached property.
Declaration
public static readonly DependencyProperty LogicalParentProperty
Field Value
System.Windows.DependencyProperty
|
Properties
HandlerType
Gets the handler type of the routed event.
Declaration
public Type HandlerType { get; }
Property Value
System.Type
|
Name
Gets the identifying name of the routed event.
Declaration
public string Name { get; }
Property Value
System.String
|
OwnerType
Gets the registered owner type of the routed event.
Declaration
public Type OwnerType { get; }
Property Value
System.Type
|
RoutingStrategy
Gets the routing strategy of the routed event.
Declaration
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
public RoutedEvent AddOwner(Type ownerType)
Parameters
System.Type
ownerType
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
public static DependencyObject GetLogicalParent(DependencyObject obj)
Parameters
System.Windows.DependencyObject
obj
|
Returns
System.Windows.DependencyObject
|
SetLogicalParent(DependencyObject, DependencyObject)
Sets the logical parent of the specified element.
Declaration
public static void SetLogicalParent(DependencyObject obj, DependencyObject value)
Parameters
System.Windows.DependencyObject
obj
|
System.Windows.DependencyObject
value
|
ToString()
Returns a System.String that represents the current System.Object.
Declaration
public override string ToString()
Returns
System.String
A System.String that represents the current System.Object. |