Share via


RibbonTabHeader.OnKeyDown Method

Provides class handling for the KeyDown routed event.

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

Syntax

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

Parameters

Remarks

This method attempts to move the focus to the first element in the tab when the DOWN ARROW key is pressed on the tab header. If successful, it marks the KeyDown event as handled by setting the Handled property of the event data to true.

.NET Framework Security

See Also

Reference

RibbonTabHeader Class

Microsoft.Windows.Controls.Ribbon Namespace