Share via


RibbonGallery.Buttons Property (2007 System)

Gets the collection of buttons on this RibbonGallery.

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

Syntax

'Declaration
Public ReadOnly Property Buttons As RibbonButtonCollection
'Usage
Dim instance As RibbonGallery 
Dim value As RibbonButtonCollection 

value = instance.Buttons
public RibbonButtonCollection Buttons { get; }
public:
property RibbonButtonCollection^ Buttons {
    RibbonButtonCollection^ get ();
}
public function get Buttons () : RibbonButtonCollection

Property Value

Type: Microsoft.Office.Tools.Ribbon.RibbonButtonCollection
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 Class

RibbonGallery Members

Microsoft.Office.Tools.Ribbon Namespace

Other Resources

Ribbon Object Model Overview