Alignment Element for TableColumnHeader
Defines how the data in a column header is displayed.
Schema
- Configuration Element
- ViewDefinitions Element
- View Element
- TableControl Element
- TableHeaders Element
- TableColumnHeader Element
- Alignment Element
Syntax
<Alignment>AlignmentType</Alignment>
Attributes and Elements
The following sections describe the attributes, child elements, and parent element of the
Alignment
element.
Attributes
None.
Child Elements
None.
Parent Elements
Element | Description |
---|---|
TableColumnHeader Element | Defines a label, the width, and the alignment of the data for a column of the table. |
Text Value
Specify one of the following values. These values are not case-sensitive.
- Left - Aligns the data displayed in the column on the left This is the default if this element is not specified.
- Right - Aligns the data displayed in the column on the right.
- Center - Centers the data displayed in the column.
Remarks
For more information about the components of a table view, see Creating a Table View.
Example
This example shows a TableColumnHeader
element whose data is aligned on the center.
<TableColumnHeader>
<Label>Column 1</Label>
<Width>16</Width>
<Alignment>Center</Alignment>
</TableColumnHeader>
See Also
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
PowerShell