Layout Element (Work Item Type Definition Schema)

Defines how the elements on the work item form are displayed.

Schema Hierarchy

WORKITEMTYPE Element (Work Item Type Definition Schema)

    FORM Element (Work Item Type Definition Schema)

        Layout Element (Work Item Type Definition Schema)

<Layout Target="client name" MinimumSize="minimum form size" Padding="(left, top, right, bottom)" Margin="(left, top, right, bottom)">
    <Group>…</Group>
    <Control>…</Control>
    <TabGroup>…</TabGroup>
    <Splitter>…</Splitter>
</Layout>

Attributes and Elements

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

Attributes

Attribute Description

Target

Optional LayoutType attribute.

The name of the client to which the layout applies.

MinimumSize

Optional LayoutType attribute.

The minimum size for the form.

Padding

Optional LayoutType attribute.

The amount of space around the inside border of the control.

Margin

Optional LayoutType attribute.

The amount of space around the outside border of the control.

Child Elements

Element Description

Group

Optional element.

You must define at least one child element from this table.

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

Control

Optional element.

You must define at least one child element from this table.

Defines a field to display on the form.

TabGroup

Optional element.

You must define at least one child element from this table.

Contains one or more Tab elements.

Splitter

Optional element.

You must define at least one child element from this table.

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

Parent Elements

Element Description

FORM

Required element.

Contains the Layout element that defines how the elements on the work item type form are displayed.

Remarks

Layout is a required child element of FORM.

minOccurs="1"

maxOccurs="unbounded"

Element Information

Namespace

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

Schema Name

Work Item Type Definition

Validation File

WorkItemTypeDefinition.xsd

Element Type

LayoutType

Can Be Empty

No

See Also

Reference

Group Element (Work Item Type Definition Schema)
Control Element (Work Item Type Definition Schema)
TabGroup Element (Work Item Type Definition Schema)
Splitter Element (Work Item Type Definition Schema)

Concepts

All Work Item <FORM> Elements

Other Resources

Defining the Work Item Form