RibbonButtonGroup.Items Property


Gets the controls that are contained in this RibbonButtonGroup.

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

IList<RibbonControl> Items { get; }

Property Value

Type: System.Collections.Generic.IList<RibbonControl>

A collection of controls that were added to this RibbonButtonGroup at design time.

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.

Return to top