Defines the vertical alignment of the text in this cell.
Get
| C# | SftTreeVAlignDefaultConstants Style = object.TextVAlign; |
| VB.NET | Style = object.TextVAlign As SftTreeVAlignDefaultConstants |
| C++ | enum SftTreeVAlignDefaultConstants Style = object->TextVAlign; enum SftTreeVAlignDefaultConstants Style = object->GetTextVAlign(); |
| C | HRESULT object->get_TextVAlign(enum SftTreeVAlignDefaultConstants* Style); |
| VB | Style = object.TextVAlign As SftTreeVAlignDefaultConstants |
Put
| C# | SftTreeVAlignDefaultConstants object.TextVAlign = Style; |
| VB.NET | object.TextVAlign = Style As SftTreeVAlignDefaultConstants |
| C++ | enum SftTreeVAlignDefaultConstants object->TextVAlign = Style; void object->PutTextVAlign(enum SftTreeVAlignDefaultConstants Style); |
| C | HRESULT object->put_TextVAlign(enum SftTreeVAlignDefaultConstants Style); |
| VB | object.TextVAlign = Style As SftTreeVAlignDefaultConstants |
object
A SftTreeCell object.
Style
Defines the vertical alignment of the text in this cell.
| Name | Value | Description |
|---|---|---|
| valignSftTreeDefault | -1 | The text is aligned as defined using the default settings for this cell's column (see Column.CellVAlign). |
| valignSftTreeDefaultCenter | 0 | The cell text is vertically centered. |
| valignSftTreeDefaultTop | 1 | The cell text is aligned with the top of the available area. |
| valignSftTreeDefaultBottom | 2 | The cell text is aligned with the bottom of the available area. |
The TextVAlign property defines the vertical alignment of the text in this cell.
The Cell.TextHAlign property is used to define the horizontal alignment of the text in this cell.
The TextVAlign property determines the position of the cell text and graphic, defined using the Cell.Text and Cell.Image properties. It overrides the column's default alignment defined using the Column.CellVAlign property.
See Also SftTreeCell Object | Object Hierarchy