Redigeeri

Jagamisviis:


RibbonButton.OnGotKeyboardFocus(KeyboardFocusChangedEventArgs) Method

Definition

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)

Parameters

e
KeyboardFocusChangedEventArgs

The event data.

Remarks

This method overrides the default behavior and enables the keyboard focus visual when this control gets keyboard focus.

This implementation does not change the handled state (the Handled property) of the GotKeyboardFocus event data.

Applies to