Partilhar via


Groups Element

Applies to: SharePoint Foundation 2010

Defines the groups of controls on a tab.

<Groups
  Id="Text"
/>

Attributes

Attribute

Description

Id

Required. A string that identifies the element, such as "Ribbon.DocLibListForm.Edit.Groups".

Child Elements

Group

Parent Elements

CommandUIDefinition

Tab

Occurrences

Minimum: 1

Maximum: 1

Example

The following XML fragment defines a tab that contains zero groups of controls.

<Tab Id="Ribbon.Read" Sequence="100" Command="ReadTab" Description="" Title="$Resources:core,TabRead;" CssClass="ms-browseTab">
  <Scaling Id="Ribbon.Read.Scaling">
  </Scaling>
  <Groups Id="Ribbon.Read.Groups">
  </Groups>
</Tab>