Udostępnij za pośrednictwem


RibbonBox.Items Property

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

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

Syntax

'Declaration
ReadOnly Property Items As IList(Of RibbonControl)
IList<RibbonControl> Items { get; }

Property Value

Type: System.Collections.Generic.IList<RibbonControl>
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.

.NET Framework Security

See Also

Reference

RibbonBox Interface

Microsoft.Office.Tools.Ribbon Namespace

Other Resources

Ribbon Object Model Overview