Megosztás a következőn keresztül:


RibbonGallery.Buttons Property

Gets the collection of buttons on this RibbonGallery.

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

Syntax

'Declaration
ReadOnly Property Buttons As IList(Of RibbonButton)
IList<RibbonButton> Buttons { get; }

Property Value

Type: System.Collections.Generic.IList<RibbonButton>
The collection of buttons on this RibbonGallery.

Remarks

You can add buttons to this RibbonGallery at run time. For more information, see RibbonGallery.

.NET Framework Security

See Also

Reference

RibbonGallery Interface

Microsoft.Office.Tools.Ribbon Namespace

Other Resources

Ribbon Object Model Overview