RibbonToggleButton.OnClick Method

Handles the Click event and raises the RibbonControlService.DismissPopup attached event.

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()

Remarks

This method calls the base method and then raises the RibbonControlService.DismissPopup attached event.

.NET Framework Security

See Also

Reference

RibbonToggleButton Class

Microsoft.Windows.Controls.Ribbon Namespace