Defines the width (in characters) of a column.
Schema
- Configuration Element
- ViewDefinitions Element
- View Element
- TableControl Element
- TableHeaders Element
- TableColumnHeader
- Width Element
Syntax
<Width>NumberOfCharacters</Width>
Attributes and Elements
The following sections describe the attributes, child elements, and parent element of the Width
element used when defining column headers.
Attributes
None.
Child Elements
None.
Parent Elements
| Element | Description |
|---|---|
| TableColumnHeader Element for TableHeaders for TableControl | Defines a label, width, and alignment of the data for a column of the table. |
Text Value
When at all possible, specify a width (in characters) that is greater than the length of the displayed property values.
Remarks
For more information about the components of a table view, see Creating a Table View.
Example
The following example shows a TableColumnHeader element whose width is 16 characters.
<TableColumnHeader>
<Label>Column 1</Label>
<Width>16</Width>
<Alignment>Left</Alignment>
</TableColumnHeader>
See Also
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
PowerShell