共用方式為


RibbonGallery.ButtonClick Event

Definition

Occurs when a user clicks a button on this RibbonGallery.

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

Event Type

Remarks

This event is raised if any button is clicked on the RibbonGallery. You can determine which button was clicked by examining the sender parameter of the event handler.

Applies to