共用方式為


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 事件識別項。

適用於