共用方式為


RibbonCheckBox.Click Event

Definition

Occurs when a user clicks the check box.

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

The Click event is raised when a user clicks the check box. It is raised after Checked has been updated to reflect the user's action. You can, for example, update the Ribbon interface when the user checks a check box by adding code that tests the most recent value of Checked to the Click event handler.

Applies to