ContextualGroup element (Server Ribbon)
Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
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"
/>
Elements and attributes
The following sections describe attributes, child elements, and parent elements.
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 selected. |
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
Parent elements
Occurrences
- Minimum: 0
- Maximum: unbounded