Share via


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

.NET Framework Security

See Also

Reference

RibbonMenuItem Class

Microsoft.Windows.Controls.Ribbon Namespace