EventRoute(RoutedEvent) 构造函数

定义

初始化 EventRoute 类的实例。

public:
 EventRoute(System::Windows::RoutedEvent ^ routedEvent);
public EventRoute (System.Windows.RoutedEvent routedEvent);
new System.Windows.EventRoute : System.Windows.RoutedEvent -> System.Windows.EventRoute
Public Sub New (routedEvent As RoutedEvent)

参数

routedEvent
RoutedEvent

将与此事件路由关联的非 NULL 事件标识符。

适用于