TableHeaders Element
Defines the headers for the columns of a table.
- ViewDefinitions Element
- View Element
- TableControl Element
- TableHeaders Element for TableControl
<TableHeaders>
<TableColumnHeader>...</TableColumnHeader>
</TableHeaders>
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.
None.
Element | Description |
---|---|
TableColumnHeader Element | Optional element. Defines the label, the width, and the alignment of the data for a column of a table view. |
Element | Description |
---|---|
TableControl Element | Defines a table format for a view. |
For more information about the components of a table view, see Creating a Table View.
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>
Отзыв о PowerShell
PowerShell — это проект с открытым исходным кодом. Выберите ссылку, чтобы оставить отзыв: