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
- 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