共用方式為


MenuItem.OnGotKeyboardFocus(KeyboardFocusChangedEventArgs) 方法

定義

宣告鍵盤的焦點落在這個項目上。

protected:
 override void OnGotKeyboardFocus(System::Windows::Input::KeyboardFocusChangedEventArgs ^ e);
protected override void OnGotKeyboardFocus (System.Windows.Input.KeyboardFocusChangedEventArgs e);
override this.OnGotKeyboardFocus : System.Windows.Input.KeyboardFocusChangedEventArgs -> unit
Protected Overrides Sub OnGotKeyboardFocus (e As KeyboardFocusChangedEventArgs)

參數

e
KeyboardFocusChangedEventArgs

GotFocus 事件的事件資料。

適用於