Share via


RibbonDropDown.ItemsLoading Event (2007 System)

Occurs when controls are loaded into the RibbonDropDown.

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 RibbonDropDown 
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 drop-down menu.

If you modify the controls on the menu at run time or change any properties of this RibbonDropDown, this event is also raised the first time the user expands the menu after the change is made.

.NET Framework Security

See Also

Reference

RibbonDropDown Class

RibbonDropDown Members

Microsoft.Office.Tools.Ribbon Namespace

Other Resources

Ribbon Object Model Overview