共用方式為


TextBoxBase.OnGotKeyboardFocus(KeyboardFocusChangedEventArgs) 方法

定義

每當未處理的 GotKeyboardFocus 附加路由事件到達其路由中衍生自這個類別的項目時叫用。 實作這個方法可為此事件加入類別處理。

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

提供有關事件的資料。

適用於

另請參閱