Customizer's Guide > Working with XUI (XML-based User Interface) Dialog Boxes > XUI Element Reference > <grid> Element
  
<grid> Element
The <grid> element creates a grid container. The element can have the following child elements:
<box>, <button>, <checkbox>, <colordropdown<>, <combobox>, <description>, <grid>, <groupbox>, <label>, <listbox>, <morph>, <picturebox>, <radio>, <radiogroup>, <script>, <separator>, <slider>, <spacer>, <spinner>, <tabbox>, <tablecontrol>, <textbox>, <treecontrol>, <unitdimensionbox>
The <grid> element has the following attributes:
cellalign = bottomcenter | bottomleft | bottomright | middlecenter | middleleft | middleright | topcenter | topleft | topright
Default is middleleft. Specifies how the cell children are aligned.
columns = CDATA
Specifies the number of columns.
disabled = true | false
Default is false. If true, the control ignores all user interface events directed toward the control.
height = CDATA
Number specifying the height in pixels to allocate for this control.
hidden = true | false
Default is false. If true, the space for the control is allocated, but the control itself is not displayed.
id = ID
Identifies the control.
resize = none | both | height | width | natural
Default is natural. If width, the control allows horizontal resizing only. If height, the control allows vertical resizing only. If both, the control allows resizing in both directions. If none, the control doesn't resize in either direction. If natural, the control resizes if necessary depending on size changes in its children.
width = CDATA
Number specifying the width in pixels to allocate for this control.
withdraw = true | false
Default is false. If true, the control (and any children) is ignored and not displayed.