RoutedEvent.Name 属性
定义
获取路由事件的标识名称。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
属性值
路由事件的名称。The name of the routed event.
注解
路由事件的名称在每个所有者类型内必须是唯一的, 但不需要全局唯一。The name of a routed event must be unique within each owner type, but is not required to be globally unique.
此属性的值源自RegisterRoutedEvent定义的RoutedEvent方法。The value of this property originates from the RegisterRoutedEvent method that defines a RoutedEvent. 具体而言, 的值Name name
是传递给RegisterRoutedEvent的参数值。Specifically, the value of Name is the name
parameter value that was passed to RegisterRoutedEvent.