RoutedEvent Class
.NET Framework 4.6 and 4.5
Represents and identifies a routed event and declares its characteristics.
Namespace: System.Windows
Assembly: PresentationCore (in PresentationCore.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation
The RoutedEvent type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | 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. |
| Name | Description | |
|---|---|---|
![]() | AddOwner | Associates another owner type with the routed event represented by a RoutedEvent instance, and enables routing of the event and its handling. |
![]() | Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | ToString | Returns the string representation of this RoutedEvent. (Overrides Object.ToString().) |
This class contains the Name, RoutingStrategy, HandlerType, and OwnerType properties. None of these members can have null values.
This class has a XAML usage that is exclusively intended for providing the value of the RoutedEvent property of an EventTrigger (or derived class), or for the Event property of an EventSetter (or derived class). For more information about EventTrigger, EventSetter, and the XAML usages for those classes, see Routed Events Overview.
Show:
