Udostępnij za pośrednictwem


RibbonTab.Groups Property (2007 System)

Gets the collection of groups that are on the RibbonTab.

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 Groups As RibbonComponentCollection(Of RibbonGroup)
'Usage
Dim instance As RibbonTab 
Dim value As RibbonComponentCollection(Of RibbonGroup)

value = instance.Groups
public RibbonComponentCollection<RibbonGroup> Groups { get; }
public:
property RibbonComponentCollection<RibbonGroup^>^ Groups {
    RibbonComponentCollection<RibbonGroup^>^ get ();
}
public function get Groups () : RibbonComponentCollection<RibbonGroup>

Property Value

Type: Microsoft.Office.Tools.Ribbon.RibbonComponentCollection<RibbonGroup>
A RibbonComponentCollection<T> that can be used to access the 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 Class

RibbonTab Members

Microsoft.Office.Tools.Ribbon Namespace

Other Resources

Ribbon Object Model Overview