RibbonMenuItem.OnActivatingKeyTip Method
Called when the KeyTip or accelerator key is pressed.
Namespace: Microsoft.Windows.Controls.Ribbon
Assembly: RibbonControlsLibrary (in RibbonControlsLibrary.dll)
Syntax
'Declaration
Protected Overridable Sub OnActivatingKeyTip ( _
e As ActivatingKeyTipEventArgs _
)
protected virtual void OnActivatingKeyTip(
ActivatingKeyTipEventArgs e
)
protected:
virtual void OnActivatingKeyTip(
ActivatingKeyTipEventArgs^ e
)
abstract OnActivatingKeyTip :
e:ActivatingKeyTipEventArgs -> unit
override OnActivatingKeyTip :
e:ActivatingKeyTipEventArgs -> unit
protected function OnActivatingKeyTip(
e : ActivatingKeyTipEventArgs
)
Parameters
- e
Type: Microsoft.Windows.Controls.ActivatingKeyTipEventArgs
Contains data about the activation.
.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.