共用方式為


RibbonComboBox.Items Property

Definition

Gets a collection of the items in this RibbonComboBox.

public:
 property System::Collections::Generic::IList<Microsoft::Office::Tools::Ribbon::RibbonDropDownItem ^> ^ Items { System::Collections::Generic::IList<Microsoft::Office::Tools::Ribbon::RibbonDropDownItem ^> ^ get(); };
public System.Collections.Generic.IList<Microsoft.Office.Tools.Ribbon.RibbonDropDownItem> Items { get; }
member this.Items : System.Collections.Generic.IList<Microsoft.Office.Tools.Ribbon.RibbonDropDownItem>
Public ReadOnly Property Items As IList(Of RibbonDropDownItem)

Property Value

A collection of RibbonDropDownItem objects in this RibbonComboBox.

Remarks

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

Applies to