Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2005
Team Foundation
 Layout Element (Work Item Type Defi...
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0

Other versions are also available for the following:
Visual Studio Team System
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>

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.

Layout is a required child element of FORM.

minOccurs="1"

maxOccurs="unbounded"

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

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker