Compartilhar via


RibbonGallery.Click Event

Occurs when a user clicks an item on this RibbonGallery.

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

Syntax

'Declaration
Event Click As RibbonControlEventHandler
event RibbonControlEventHandler Click

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.

.NET Framework Security

See Also

Reference

RibbonGallery Interface

Microsoft.Office.Tools.Ribbon Namespace

Other Resources

Ribbon Object Model Overview