Defines the vertical alignment of the text in this column header.
Get
| C# | SftTreeVAlignConstants Style = object.TextVAlign; |
| VB.NET | Style = object.TextVAlign As SftTreeVAlignConstants |
| C++ | enum SftTreeVAlignConstants Style = object->TextVAlign; enum SftTreeVAlignConstants Style = object->GetTextVAlign(); |
| C | HRESULT object->get_TextVAlign(enum SftTreeVAlignConstants* Style); |
| VB | Style = object.TextVAlign As SftTreeVAlignConstants |
Put
| C# | SftTreeVAlignConstants object.TextVAlign = Style; |
| VB.NET | object.TextVAlign = Style As SftTreeVAlignConstants |
| C++ | enum SftTreeVAlignConstants object->TextVAlign = Style; void object->PutTextVAlign(enum SftTreeVAlignConstants Style); |
| C | HRESULT object->put_TextVAlign(enum SftTreeVAlignConstants Style); |
| VB | object.TextVAlign = Style As SftTreeVAlignConstants |
object
A SftTreeHeader object.
Style
Defines the vertical alignment of the text in this column header.
| Name | Value | Description |
|---|---|---|
| valignSftTreeCenter | 0 | The text is vertically centered. |
| valignSftTreeTop | 1 | The text is aligned with the top of the available area. |
| valignSftTreeBottom | 2 | The text is aligned with the bottom of the available area. |
The TextVAlign property defines the vertical alignment of the text in this column header.
To change the default alignment of cell text use the Column.CellHAlign and Column.CellVAlign properties instead.
The Headers.Multiline property can be used to enable multi-line column header text.
See Also SftTreeHeader Object | Object Hierarchy