Represents and identifies a routed event and declares its characteristics.
public ref class RoutedEvent sealed
[System.ComponentModel.TypeConverter("System.Windows.Markup.RoutedEventConverter, PresentationFramework, Version=184.108.40.206, Culture=neutral, PublicKeyToken=31bf3856ad364e35, Custom=null")] [System.ComponentModel.TypeConverter("System.Windows.Markup.RoutedEventConverter, PresentationFramework, Version=220.127.116.11, Culture=neutral, PublicKeyToken=31bf3856ad364e35, Custom=null")] public sealed class RoutedEvent
type RoutedEvent = class
Public NotInheritable Class RoutedEvent
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.
XAML Attribute Usage
An unqualified event name, equivalent to the Name property of the RoutedEvent field, not the actual member name of the RoutedEvent identifier field within a type. Without qualification, eventName must name an event as found in the type that is the TargetType of the current style containing the EventSetter or EventTrigger.
The type to use to qualify the event name. If provided without a prefix, type is expected to be a type within the default XAML namespace, and that can be mapped to an existing CLR type. For custom events, or events that are on types outside of the default XAML namespace, the string for type can include a prefix for a mapped XAML namespace. That XAML namespace should contain the XAML type that can map to a backing CLR type, and that CLR type should define the desired routed event identifier. For details on XAML namespace mapping, see XAML Namespaces and Namespace Mapping for WPF XAML.
Gets the handler type of the routed event.
Gets the identifying name of the routed event.
Gets the registered owner type of the routed event.
Gets the routing strategy of the routed event.
Associates another owner type with the routed event represented by a RoutedEvent instance, and enables routing of the event and its handling.
Determines whether the specified object is equal to the current object.(Inherited from Object)
Serves as the default hash function.(Inherited from Object)
Gets the Type of the current instance.(Inherited from Object)
Creates a shallow copy of the current Object.(Inherited from Object)
Returns the string representation of this RoutedEvent.