Partilhar via


Tab Element

Applies to: SharePoint Foundation 2010

Represents a tab control.

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

Attributes

Attribute

Description

Command

Optional. The Id of the command to execute when the tab is clicked.

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

Scaling

Groups

Parent Elements

ContextualGroup

Tabs

Occurrences

Minimum: 0

Maximum: unbounded

See Also

Tasks

Walkthrough: Adding a Tab to the Server Ribbon