RibbonComboBox Class (2007 System)
Represents a combo box on a custom Ribbon.
Assembly: Microsoft.Office.Tools.Common.v9.0 (in Microsoft.Office.Tools.Common.v9.0.dll)
A combo box presents a user with a text entry field and a list of choices in a drop-down menu.
You can add RibbonDropDownItem objects to a at design time or at run time.
To add RibbonDropDownItem objects at design time
Click the Items property in the Properties window.
Click the ellipsis (...).
Use the DropDown Collection Editor to add, order, and edit new items.
These items are added to this object's Items collection.
The following steps explain how to add a RibbonDropDownItem at run time.
To add a RibbonDropDownItem object at run time
Some members of this type can be set only before the Ribbon is loaded into the Office application. For information about setting these properties, see Ribbon Object Model Overview.