RibbonTabHeader.OnGotKeyboardFocus Method (KeyboardFocusChangedEventArgs)

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Provides class handling for the GotKeyboardFocus routed event.

Namespace:   System.Windows.Controls.Ribbon
Assembly:  System.Windows.Controls.Ribbon (in System.Windows.Controls.Ribbon.dll)

protected override void OnGotKeyboardFocus(
	KeyboardFocusChangedEventArgs e

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.

.NET Framework
Available since 4.5
Return to top