RibbonCheckBox.OnGotKeyboardFocus(KeyboardFocusChangedEventArgs) 方法

定义

GotKeyboardFocus 事件提供类处理,并在此控件获取键盘焦点时启用键盘焦点视觉。Provides class handling for the GotKeyboardFocus event and enables the keyboard focus visual when this control gets keyboard focus.

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

事件数据。The event data.

注解

此方法将重写默认行为,并在此控件获取键盘焦点时启用键盘焦点视觉对象。This method overrides the default behavior and enables the keyboard focus visual when this control gets keyboard focus.

此实现不会更改 Handled 事件数据的属性) 的已处理状态 (GotKeyboardFocusThis implementation does not change the handled state (the Handled property) of the GotKeyboardFocus event data.

适用于