Udostępnij za pośrednictwem


RibbonComboBox.ItemsLoading Event

Definition

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

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

Event Type

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.

Applies to