We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

RibbonComboBox.Items Property

Gets a collection of the items in this RibbonComboBox.

Namespace:  Microsoft.Office.Tools.Ribbon
Assembly:  Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)

IList<RibbonDropDownItem> Items { get; }

Property Value

Type: System.Collections.Generic.IList<RibbonDropDownItem>
A collection of RibbonDropDownItem objects in this RibbonComboBox.

You can add, remove, or update RibbonDropDownItem objects at design time or at run time.