Bagikan melalui


RibbonBox.Items Property

Definition

Gets a collection of the controls that are on this RibbonBox object.

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

Property Value

A collection of controls that can be used to access the controls that were added to this RibbonBox at design time.

Remarks

This property can be set at run time only under certain conditions. For more information, see Ribbon Object Model Overview.

Applies to