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)

Syntax

'Declaration
<BrowsableAttribute(False)> _
ReadOnly Property Items As IList(Of RibbonControl)
[BrowsableAttribute(false)]
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.

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.

.NET Framework Security

See Also

Reference

RibbonButtonGroup Interface

Microsoft.Office.Tools.Ribbon Namespace

Other Resources

Ribbon Object Model Overview