Edit

Share via


RoutedEvent.Name Property

Definition

Gets the identifying name of the routed event.

public:
 property System::String ^ Name { System::String ^ get(); };
public string Name { get; }
member this.Name : string
Public ReadOnly Property Name As String

Property Value

The name of the routed event.

Remarks

The name of a routed event must be unique within each owner type, but is not required to be globally unique.

The value of this property originates from the RegisterRoutedEvent method that defines a RoutedEvent. Specifically, the value of Name is the name parameter value that was passed to RegisterRoutedEvent.

Applies to

See also