Compartilhar via


ContextualGroup Element

Applies to: SharePoint Foundation 2010

Defines a group of tabs that are presented when they are relevant.

<ContextualGroup
  Color="None | DarkBlue | LightBlue | Teal | Orange | Green | Magenta | Yellow | Purple"
  Command="Text"
  ContextualGroupId="Text"
  Id="Text"
  Sequence="Integer"
  Title="Text"
/>

Attributes

Attribute

Description

Color

Optional. An enumeration value that specifies a color scheme for the group.

Command

Optional. The name of the command to execute when the group is clicked.

ContextualGroupId

Optional. A string that identifies the contextual group, such as "EditingTools".

Id

Required. A string that identifies the element, such as "Ribbon.EditingTools".

Sequence

Optional. An integer that specifies the order of placement among sibling XML nodes.

Title

Optional. The title that appears above the group of tabs when the tabs are visible.

Child Elements

Tab

Parent Elements

CommandUIDefinition

ContextualTabs

Occurrences

Minimum: 0

Maximum: unbounded