Share via


TabType Complex Type (Work Item Type Definition Schema)

Defines the attributes and child elements for the Tab Element.

<xs:complexType name="TabType">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="Group" type="GroupType" minOccurs="0" maxOccurs="unbounded"/>
        <xs:element name="Control" type="ControlType" minOccurs="0" maxOccurs="unbounded"/>
        <xs:element name="TabGroup" type="TabGroupType" minOccurs="0" maxOccurs="unbounded"/>
        <xs:element name="Splitter" type="SplitterType" minOccurs="0" maxOccurs="unbounded"/>
    </xs:choice>
    <xs:attribute name="Label" type="LabelType" use="required"/>
    <xs:attribute name="Padding" type="PaddingType" use="optional"/>
    <xs:attribute name="Margin" type="PaddingType" use="optional"/>
</xs:complexType>

Attributes and Elements

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

Attributes

Attribute

Description

Label

Required attribute.

Specifies the label for a set of grouped elements. The attribute type is LabelType Simple Type (Work Item Type Definition Schema). Maximum length: 80.

Padding

Optional attribute.

Specifies the amount of space in pixels around the inside border of the control. The attribute type is PaddingType Simple Type (Work Item Type Definition Schema).

Pattern value: ^\(\d+\,\d+\,\d+\,\d+\)$

Pattern value example: (2,0,2,0)

Margin

Optional attribute.

Specifies the amount of space in pixels around the outside border of the control. The attribute type is PaddingType Simple Type (Work Item Type Definition Schema).

Pattern value: ^\(\d+\,\d+\,\d+\,\d+\)$

Pattern value example: (2,0,2,0)

Child Elements

Element

Description

GROUP Element (Work Item Type Definition Schema)

Optional element.

Defines a group of elements to display together on the form.

CONTROL Element (Work Item Type Definition Schema)

Optional element.

Defines a field that is to appear on the form.

TABGROUP Element (Work Item Type Definition Schema)

Optional element.

Contains one or more Tab elements.

SPLITTER Element (Work Item Type Definition Schema)

Optional element.

Defines a splitter and its orientation on the form between sibling form elements.

Parent Elements

None

Remarks

The TabType Complex Type is the TAB Element (Work Item Type Definition Schema) type.

Element Information

Namespace

https://schemas.microsoft.com/VisualStudio/2005/workitemtracking/typedef

Schema Name

Work Item Type Definition

Validation File

WorkItemTypeDefinition.xsd

Can be Empty

Not applicable

See Also

Concepts

All Work Item FORM Elements