Width Element for TableColumnHeader
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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈