Udostępnij za pośrednictwem


RibbonGallery.Items Property

Gets a collection of the RibbonDropDownItem components in this RibbonGallery.

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 RibbonDropDownItem)
[BrowsableAttribute(false)]
IList<RibbonDropDownItem> Items { get; }

Property Value

Type: System.Collections.Generic.IList<RibbonDropDownItem>
A collection of the RibbonDropDownItem components in this RibbonGallery.

Remarks

You can add RibbonDropDownItem objects to a RibbonGallery at design time or at run time.

.NET Framework Security

See Also

Reference

RibbonGallery Interface

Microsoft.Office.Tools.Ribbon Namespace

Other Resources

Ribbon Object Model Overview