共用方式為


RibbonGallery.Click Event

Definition

Occurs when a user clicks an item on this RibbonGallery.

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

This event is raised every time a user clicks a RibbonDropDownItem on this RibbonGallery.

If the ShowItemSelection property is set to true, this event is raised only when a user clicks an item that is not currently selected.

Applies to