Share via


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

See Also

Reference

RibbonMenuItem Class

Microsoft.Windows.Controls.Ribbon Namespace