Compartilhar via


RibbonComboBox.ItemsLoading Event

Occurs when the drop-down list for this RibbonComboBox is opened.

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

Syntax

'Declaration
Event ItemsLoading As RibbonControlEventHandler
event RibbonControlEventHandler ItemsLoading

Remarks

Items added to a RibbonComboBox while its drop-down list is closed are not loaded into the Office application until the user opens the drop-down list.

You can use this event to update the list of items in this RibbonComboBox before it is shown to the user.

.NET Framework Security

See Also

Reference

RibbonComboBox Interface

Microsoft.Office.Tools.Ribbon Namespace

Other Resources

Ribbon Object Model Overview