Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Defines the child elements and attributes for the Layout Element.
<xs:complexType name="LayoutType">
<xs:choice minOccurs="1" 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="Target" type="xs:string" use="optional"/>
<xs:attribute name="MinimumSize" type="SizeType" use="optional"/>
<xs:attribute name="Padding" type="PaddingType" use="optional"/>
<xs:attribute name="Margin" type="PaddingType" use="optional"/>
<xs:attribute name="ControlSpacing" type="xs:integer" use="optional"/>
<xs:attribute name="LabelSpacing" type="xs:integer" use="optional"/>
</xs:complexType>
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Attributes
Attribute |
Description |
---|---|
Target |
Optional attribute. The name of the client to which the layout applies. The type is xs:string. |
MinimumSize |
Optional attribute. Specifies the minimum size for the form. The type is SizeType Simple Type (Work Item Type Definition Schema). Pattern value: ^\(\d+\,\d+\)$ Pattern value example: (100,100) |
Padding |
Optional attribute. Specifies the amount of space in pixels around the inside border of the control. The 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 type is PaddingType Simple Type (Work Item Type Definition Schema). Pattern value: ^\(\d+\,\d+\,\d+\,\d+\)$ Pattern value example: (2,0,2,0) |
ControlSpacing |
Optional attribute. Specifies the vertical offset of controls. The type is xs:integer. |
LabelSpacing |
Optional attribute. Specifies the number of pixels between the label and the edit region of the control. The type is xs:integer. |
Child Elements
Element |
Description |
---|---|
Optional element. Defines a group of elements to display together on the form. |
|
Optional element. Defines a field to display on the form. |
|
Optional element. Contains one or more Tab elements. |
|
Optional element. Defines a splitter and its orientation on the form between sibling form elements. |
Parent Elements
None
Remarks
The LayoutType Complex Type is the Layout 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. |