TextBoxBase.OnLostKeyboardFocus(KeyboardFocusChangedEventArgs) 方法

定義

每當未處理的 LostKeyboardFocus 附加路由事件到達其路由中衍生自這個類別的項目時叫用。Invoked whenever an unhandled LostKeyboardFocus attached routed event reaches an element derived from this class in its route. 實作這個方法可為此事件加入類別處理。Implement this method to add class handling for this event.

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

參數

e
KeyboardFocusChangedEventArgs

提供有關事件的資料。Provides data about the event.

適用於

另請參閱