共用方式為


RibbonTab.Groups Property

Definition

Gets the collection of groups that are on the RibbonTab.

public:
 property System::Collections::Generic::IList<Microsoft::Office::Tools::Ribbon::RibbonGroup ^> ^ Groups { System::Collections::Generic::IList<Microsoft::Office::Tools::Ribbon::RibbonGroup ^> ^ get(); };
public System.Collections.Generic.IList<Microsoft.Office.Tools.Ribbon.RibbonGroup> Groups { get; }
member this.Groups : System.Collections.Generic.IList<Microsoft.Office.Tools.Ribbon.RibbonGroup>
Public ReadOnly Property Groups As IList(Of RibbonGroup)

Property Value

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.

Applies to