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

提供与事件有关的数据。

适用于

另请参阅