共用方式為


RibbonToggleButton.Click Event

Definition

Occurs when the user clicks the RibbonToggleButton control.

public:
 event Microsoft::Office::Tools::Ribbon::RibbonControlEventHandler ^ Click;
event Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler Click;
member this.Click : Microsoft.Office.Tools.Ribbon.RibbonControlEventHandler 
Event Click As RibbonControlEventHandler 

Event Type

Remarks

When the user clicks the RibbonToggleButton control, the Checked property changes before the Click event is raised.

Applies to