Dela via


RibbonGroup Constructor (2007 System)

Initializes a new instance of the RibbonGroup class.

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

Syntax

'Declaration
Public Sub New
'Usage
Dim instance As New RibbonGroup()
public RibbonGroup()
public:
RibbonGroup()
public function RibbonGroup()

Remarks

Visual Studio Tools for Office creates an instance of the RibbonGroup class for you when you drag a Group from the Office Ribbon Controls tab of the Toolbox onto the Ribbon Designer.

You can use this constructor to add a group to a tab at run time, but only before the Ribbon is loaded. Create an instance of the RibbonGroup class, and then add the new RibbonGroup to the Groups collection of a tab. For more information, see Ribbon Object Model Overview.

.NET Framework Security

See Also

Reference

RibbonGroup Class

RibbonGroup Members

Microsoft.Office.Tools.Ribbon Namespace

Other Resources

Ribbon Object Model Overview