Tab element (Server Ribbon)

Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013

Represents a tab control.

<Tab
  Command="Text"
  CssClass="Text"
  Description="Text"
  Id="Text"
  Sequence="Text"
  Title="Text"
/>

Elements and attributes

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute Description
Command
Optional. The Id of the command to execute when the tab is selected.
CssClass
Optional. The name of the CSS class (such as "ms-browseTab") to apply when the tab is rendered.
Description
Optional. A description of the tab.
Id
Required. A string that identifies the control, such as "Ribbon.CustomTabExample".
Sequence
Optional. An integer that specifies the order of placement among other tab controls.
Title
Optional. The title to display on the tab.

Child elements

Parent elements

Occurrences

  • Minimum: 0
  • Maximum: unbounded

See also