RibbonTextBox.OnLostKeyboardFocus(KeyboardFocusChangedEventArgs) 方法

定义

LostKeyboardFocus 事件提供类处理,并在此控件失去键盘焦点时禁用键盘焦点视觉。

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

事件数据。

注解

此方法替代默认行为,并在此控件失去键盘焦点时禁用键盘焦点视觉对象。

此实现不会更改事件数据的属性LostKeyboardFocus) (RoutedEventArgs.Handled处理的状态。

适用于