Keyboard.PreviewKeyDownEvent 欄位

定義

識別 PreviewKeyDown 附加事件。

public: static initonly System::Windows::RoutedEvent ^ PreviewKeyDownEvent;
public static readonly System.Windows.RoutedEvent PreviewKeyDownEvent;
 staticval mutable PreviewKeyDownEvent : System.Windows.RoutedEvent
Public Shared ReadOnly PreviewKeyDownEvent As RoutedEvent 

欄位值

備註

路由事件標識碼會在註冊路由事件時建立,而結果會儲存為類別上註冊路由事件的欄位。 這些標識碼包含識別名稱、擁有者類型、處理程式類型、路由策略,以及用於新增事件擁有者的公用程式方法。 您通常會使用這些識別碼作為事件系統方法的參數,以識別特定的路由事件。

適用於