RibbonButtonGroup.Items Property

Definition

Gets the controls that are contained in this RibbonButtonGroup.

public:
 property System::Collections::Generic::IList<Microsoft::Office::Tools::Ribbon::RibbonControl ^> ^ Items { System::Collections::Generic::IList<Microsoft::Office::Tools::Ribbon::RibbonControl ^> ^ get(); };
[System.ComponentModel.Browsable(false)]
public System.Collections.Generic.IList<Microsoft.Office.Tools.Ribbon.RibbonControl> Items { get; }
[<System.ComponentModel.Browsable(false)>]
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 were added to this RibbonButtonGroup at design time.

Attributes

Remarks

To add controls to a RibbonButtonGroup, drag a Button, Gallery, Menu, SplitButton, or ToggleButton from the Office Ribbon Controls tab of the Toolbox to the Ribbon Designer.

You can add controls to a RibbonButtonGroup collection at design time. You can add controls to this collection at run time only under certain conditions. For more information, see Ribbon Object Model Overview.

Applies to