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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Office.Tools.Ribbon Namespace