Share via


RibbonGallery.ButtonClick Event

Occurs when a user clicks a button on this RibbonGallery.

Namespace:  Microsoft.Office.Tools.Ribbon
Assembly:  Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)

Syntax

'Declaration
Event ButtonClick As RibbonControlEventHandler
event RibbonControlEventHandler ButtonClick

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.

.NET Framework Security

See Also

Reference

RibbonGallery Interface

Microsoft.Office.Tools.Ribbon Namespace

Other Resources

Ribbon Object Model Overview