2.3.55 CT_LayoutContainer

Target namespace: http://schemas.microsoft.com/office/2009/07/customui

Referenced by: CT_GroupBox, CT_GroupControls

Specifies a grouping container control that aligns child controls horizontally or vertically.

Child Elements:

button: A CT_BackstageGroupButton element, as specified in section 2.3.10.

checkBox: A CT_BackstageCheckBox element, as specified in section 2.3.3.

editBox: A CT_BackstageEditBox element, as specified in section 2.3.7.

dropDown: A CT_BackstageDropDown element, as specified in section 2.3.6.

radioGroup: A CT_RadioGroup element, as specified in section 2.3.65.

comboBox: A CT_BackstageComboBox element, as specified in section 2.3.5.

hyperlink: A CT_Hyperlink element, as specified in section 2.3.51.

labelControl: A CT_BackstageLabelControl element, as specified in section 2.3.13.

groupBox: A CT_GroupBox element, as specified in section 2.3.48.

layoutContainer: A CT_LayoutContainer element, as specified in section 2.3.55.

imageControl: A CT_ImageControl element, as specified in section 2.3.52.

Attributes:

id: An ST_UniqueID attribute, as specified in section 2.4.27, that specifies the identifier of a custom control. All custom controls MUST have unique identifiers. The id, idQ, and idMso attributes are mutually exclusive. Exactly one of these attributes MUST be specified on all controls.

idQ: An ST_QID attribute, as specified in section 2.4.22, that specifies the qualified identifier of a control. This attribute is used to reference controls or containers created by other Custom UI documents. The id, idQ, and idMso attributes are mutually exclusive. Exactly one of these attributes MUST be specified on all controls.

tag: An ST_String attribute, as specified in section 2.4.24, that specifies an arbitrary string that provides additional information about this control during callback function calls. If this attribute is omitted, the value defaults to an empty string.

align: An ST_align attribute, as specified in section 2.4.1, that specifies where child controls are aligned within this container control. If this attribute is omitted, the child controls are positioned at the top left of the container.

expand: An ST_expand1 attribute, as specified in section 2.4.4, that specifies how this control expands within its container. If this attribute is omitted, the control does not expand.

layoutChildren: An ST_layoutChildren attribute, as specified in section 2.4.20, that specifies the direction that child controls are laid out within this container. If this attribute is omitted, child controls are laid out horizontally.

The following W3C XML Schema ([XMLSCHEMA1/2] section 2.1) fragment specifies the contents of this complex type.

 <xsd:complexType name="CT_LayoutContainer">
   <xsd:sequence>
     <xsd:group ref="EG_GroupControls" minOccurs="0" maxOccurs="1000"/>
   </xsd:sequence>
   <xsd:attributeGroup ref="AG_IDCustom"/>
   <xsd:attribute name="align" use="optional" type="ST_align"/>
   <xsd:attribute name="expand" use="optional" type="ST_expand1"/>
   <xsd:attribute name="layoutChildren" use="optional" type="ST_layoutChildren"/>
 </xsd:complexType>

See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1/2] section 2.1).