RibbonMenu.ItemsLoading Event
Occurs when controls or nested menus are loaded into the current menu at run time.
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
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.