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
- e
Type: System.Windows.Input.KeyEventArgs
The event data.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.