RibbonMenuItem.OnKeyDown Method
Provides class handling for the KeyDown 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.
.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.