共用方式為


RibbonFactory.CreateRibbonButtonGroup Method

Creates a RibbonButtonGroup object that represents a group of buttons on a Ribbon.

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

Syntax

'Declaration
Function CreateRibbonButtonGroup As RibbonButtonGroup
RibbonButtonGroup CreateRibbonButtonGroup()

Return Value

Type: Microsoft.Office.Tools.Ribbon.RibbonButtonGroup
A group of buttons.

Remarks

RibbonButtonGroup controls can contain buttons, toggle buttons, menus, split buttons, and galleries.

.NET Framework Security

See Also

Reference

RibbonFactory Interface

Microsoft.Office.Tools.Ribbon Namespace