共用方式為


RibbonTab.Groups Property

Gets the collection of groups that are on the RibbonTab.

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

Syntax

'Declaration
ReadOnly Property Groups As IList(Of RibbonGroup)
IList<RibbonGroup> Groups { get; }

Property Value

Type: System.Collections.Generic.IList<RibbonGroup>
A collection of controls and groups that are on this RibbonTab.

Remarks

A Groups control is the largest collection of controls on the Ribbon except the Microsoft.Office.Tools.Ribbon and the RibbonTab.

You can add a RibbonTab control at design time, or at run time before the Ribbon is loaded into the Microsoft Office application. For more information, see Ribbon Object Model Overview.

.NET Framework Security

See Also

Reference

RibbonTab Interface

Microsoft.Office.Tools.Ribbon Namespace

Other Resources

Ribbon Object Model Overview