TableHeaders Element
Defines the headers for the columns of a table.
Schema
- ViewDefinitions Element
- View Element
- TableControl Element
- TableHeaders Element for TableControl
Syntax
<TableHeaders>
<TableColumnHeader>...</TableColumnHeader>
</TableHeaders>
Attributes and Elements
The following sections describe the attributes, child elements, and parent elements of the
TableHeaders
element. There must be a child element for each property of the object that is to be
displayed. The column header information is displayed in the order that the child elements are
specified.
Attributes
None.
Child Elements
Element | Description |
---|---|
TableColumnHeader Element | Optional element. Defines the label, the width, and the alignment of the data for a column of a table view. |
Parent Elements
Element | Description |
---|---|
TableControl Element | Defines a table format for a view. |
Remarks
For more information about the components of a table view, see Creating a Table View.
Example
This example shows a TableHeaders
element that defines two column headers.
<TableHeaders>
<TableColumnHeader>
<Label>Column 1</Label>
<Width>16</Width>
<Alignment>Left</Alignment>
</TableColumnHeader>
<TableColumnHeader>
<Label>Column 2</Label>
<Width>10</Width>
<Alignment>Centered</Alignment>
</TableColumnHeader>
</TableHeaders>
See Also
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.