Keyboard.PreviewGotKeyboardFocusEvent 欄位

定義

識別 PreviewGotKeyboardFocus 附加事件。Identifies the PreviewGotKeyboardFocus attached event.

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

欄位值

備註

路由事件識別碼會在註冊路由事件時建立, 而結果會儲存為註冊路由事件之類別上的欄位。Routed event identifiers are created when routed events are registered, and the result is stored as a field on the class that registers the routed event. 這些識別碼包含用於加入事件擁有者的識別名稱、擁有者類型、處理常式類型、路由策略和公用程式方法。These identifiers contain an identifying name, owner type, handler type, routing strategy, and a utility method for adding owners for the event. 您通常會使用這些識別碼作為事件系統方法的參數, 以識別特定的路由事件。You often use these identifiers as parameters to event system methods, to identify a particular routed event.

適用於