共用方式為


RibbonGallery.Items Property

Definition

Gets a collection of the RibbonDropDownItem components in this RibbonGallery.

public:
 property System::Collections::Generic::IList<Microsoft::Office::Tools::Ribbon::RibbonDropDownItem ^> ^ Items { System::Collections::Generic::IList<Microsoft::Office::Tools::Ribbon::RibbonDropDownItem ^> ^ get(); };
[System.ComponentModel.Browsable(false)]
public System.Collections.Generic.IList<Microsoft.Office.Tools.Ribbon.RibbonDropDownItem> Items { get; }
[<System.ComponentModel.Browsable(false)>]
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 the RibbonDropDownItem components in this RibbonGallery.

Attributes

Remarks

You can add RibbonDropDownItem objects to a RibbonGallery at design time or at run time.

Applies to