Share via


ColumnType Complex Type (Work Item Type Definition Schema)

Defines attributes and child elements for the Column Element.

<xs:complexType name="ColumnType">
    <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="Group" type="GroupType" minOccurs="0"/>
        <xs:element name="Control" type="ControlType" minOccurs="0"/>
        <xs:element name="TabGroup" type="TabGroupType" minOccurs="0"/>
        <xs:element name="Splitter" type="SplitterType" minOccurs="0"/>
    </xs:choice>
    <xs:attribute name="PercentWidth" type="PercentWidthType" use="optional"/>
    <xs:attribute name="FixedWidth" type="FixedWidthType" use="optional"/>
</xs:complexType>

Attributes and Elements

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

Attributes

Attribute

Description

PercentWidth

Optional attribute.

The width the column should occupy as a percentage of the width in the containing element. The attribute type is PercentWidthType Simple Type (Work Item Type Definition Schema). Minimum inclusive value: 1; maximum inclusive value: 100.

FixedWidth

Optional attribute.

The column width in pixels. The attribute type is FixedWidthType Simple Type (Work Item Type Definition Schema). Minimum inclusive value: 1.

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 two sibling form elements.

Parent Elements

None

Remarks

The ColumnType Complex Type is the Column 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

Other Resources

Defining the Work Item Form