Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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.v9.0 (in Microsoft.Office.Tools.Common.v9.0.dll)
Syntax
'Declaration
Public Event ItemsLoading As EventHandler(Of RibbonControlEventArgs)
'Usage
Dim instance As RibbonMenu
Dim handler As EventHandler(Of RibbonControlEventArgs)
AddHandler instance.ItemsLoading, handler
public event EventHandler<RibbonControlEventArgs> ItemsLoading
public:
event EventHandler<RibbonControlEventArgs^>^ ItemsLoading {
void add (EventHandler<RibbonControlEventArgs^>^ value);
void remove (EventHandler<RibbonControlEventArgs^>^ value);
}
JScript does not support events.
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.