共用方式為


RibbonMenu.ItemsLoading Event

Definition

Occurs when controls or nested menus are loaded into the current menu at run time.

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

This event is raised the first time the user expands the menu. If you modify the controls in the menu at run time, this event is also raised the first time the user expands the menu after you add a control or remove a control.

This event is raised only when the Dynamic property is true.

Applies to