Defines the vertical alignment of the text in this column header.
Get
| C# | SftBoxVAlignConstants Style = object.TextVAlign; |
| VB.NET | Style = object.TextVAlign As SftBoxVAlignConstants |
| C++ | enum SftBoxVAlignConstants Style = object->TextVAlign; enum SftBoxVAlignConstants Style = object->GetTextVAlign(); |
| C | HRESULT object->get_TextVAlign(enum SftBoxVAlignConstants* Style); |
| VB | Style = object.TextVAlign As SftBoxVAlignConstants |
Put
| C# | SftBoxVAlignConstants object.TextVAlign = Style; |
| VB.NET | object.TextVAlign = Style As SftBoxVAlignConstants |
| C++ | enum SftBoxVAlignConstants object->TextVAlign = Style; void object->PutTextVAlign(enum SftBoxVAlignConstants Style); |
| C | HRESULT object->put_TextVAlign(enum SftBoxVAlignConstants Style); |
| VB | object.TextVAlign = Style As SftBoxVAlignConstants |
object
Style
Defines the vertical alignment of the text in this column header.
Style
Defines the vertical alignment of the text in this cell.
| Name | Value | Description |
|---|---|---|
| valignSftBoxCenter | 0 | The column header text is vertically centered. |
| valignSftBoxTop | 1 | The column header text is aligned with the top of the available area. |
| valignSftBoxBottom | 2 | The column header text is aligned with the bottom of the available area. |
The TextVAlign property defines the vertical alignment of the text in this column header.
The Header.TextHAlign property is used to define the horizontal alignment of the text in this column header.
The Header.ImageHAlign and Header.ImageVAlign properties are used to align the column header graphic component.
See Also SftBoxHeader Object | Object Hierarchy