RibbonComboBox.ItemsLoading Event
Occurs when the drop-down list for this RibbonComboBox is opened.
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
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.
.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.
See Also
Reference
Microsoft.Office.Tools.Ribbon Namespace