Düzenle

Aracılığıyla paylaş


Label Element for TableColumnHeader for TableControl

Defines the label that is displayed at the top of a column. This element is used when defining a table view.

Schema

  • Configuration Element
  • ViewDefinitions Element
  • View Element
  • TableControl Element
  • TableHeaders Element
  • TableColumnHeader Element
  • Label Element

Syntax

<Label>DisplayedLabel</Label>

Attributes and Elements

The following sections describe the attributes, child elements, and the parent element of the Label element. Only one label is allowed for each column.

Attributes

None.

Child Elements

None.

Parent Elements

Element Description
TableColumnHeader Element for TableHeaders for TableControl Defines a label, the width, and the alignment of the data for a column of the table.

Text Value

Specify the text that is displayed at the top of the column of the table. There are no restricted characters for the column label.

Remarks

If no label is specified, the name of the property whose value is displayed in the rows is used.

For more information about the components of a table view, see Creating a Table View.

Example

This example shows a TableColumnHeader element whose label is "Column 1".

<TableColumnHeader>
  <Label>Column 1</Label>
  <Width>16</Width>
  <Alignment>Left</Alignment>
</TableColumnHeader>

See Also

Creating a Table View

TableColumnHeader Element

Writing a PowerShell Formatting File