Dela via


RibbonTabHeader.OnGotKeyboardFocus Method

Provides class handling for the GotKeyboardFocus routed event.

Namespace:  Microsoft.Windows.Controls.Ribbon
Assembly:  RibbonControlsLibrary (in RibbonControlsLibrary.dll)

Syntax

'Declaration
Protected Overrides Sub OnGotKeyboardFocus ( _
    e As KeyboardFocusChangedEventArgs _
)
protected override void OnGotKeyboardFocus(
    KeyboardFocusChangedEventArgs e
)
protected:
virtual void OnGotKeyboardFocus(
    KeyboardFocusChangedEventArgs^ e
) override
abstract OnGotKeyboardFocus : 
        e:KeyboardFocusChangedEventArgs -> unit 
override OnGotKeyboardFocus : 
        e:KeyboardFocusChangedEventArgs -> unit 
protected override function OnGotKeyboardFocus(
    e : KeyboardFocusChangedEventArgs
)

Parameters

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.

.NET Framework Security

See Also

Reference

RibbonTabHeader Class

Microsoft.Windows.Controls.Ribbon Namespace