Bewerken

Share via


RibbonTabHeader.OnGotKeyboardFocus(KeyboardFocusChangedEventArgs) Method

Definition

Provides class handling for the GotKeyboardFocus routed event.

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 sets the IsSelected property to true for the RibbonTab that this header belongs to when this header gets keyboard focus.

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

Applies to