共用方式為


IInputElement.PreviewGotKeyboardFocus 事件

定義

鍵盤以此元素為焦點時發生。

public:
 event System::Windows::Input::KeyboardFocusChangedEventHandler ^ PreviewGotKeyboardFocus;
event System.Windows.Input.KeyboardFocusChangedEventHandler PreviewGotKeyboardFocus;
member this.PreviewGotKeyboardFocus : System.Windows.Input.KeyboardFocusChangedEventHandler 
Event PreviewGotKeyboardFocus As KeyboardFocusChangedEventHandler 

事件類型

備註

此介面不適用於公用實作。 如需詳細資訊,請參閱 介面的 IInputElement 備註。

適用於

另請參閱