RibbonMenuItem.OnClick Method
Called when a menu item is clicked.
Namespace: Microsoft.Windows.Controls.Ribbon
Assembly: RibbonControlsLibrary (in RibbonControlsLibrary.dll)
Syntax
'Declaration
Protected Overrides Sub OnClick
protected override void OnClick()
protected:
virtual void OnClick() override
abstract OnClick : unit -> unit
override OnClick : unit -> unit
protected override function OnClick()
.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.