Defines the vertical alignment of tree lines, expand/collapse buttons, label, plus/minus and item graphics.
Get
| C# | SftTreeVAlignConstants VAlign = object.VAlignStyle; |
| VB.NET | VAlign = object.VAlignStyle As SftTreeVAlignConstants |
| C++ | enum SftTreeVAlignConstants VAlign = object->VAlignStyle; enum SftTreeVAlignConstants VAlign = object->GetVAlignStyle(); |
| C | HRESULT object->get_VAlignStyle(enum SftTreeVAlignConstants* VAlign); |
| VB | VAlign = object.VAlignStyle As SftTreeVAlignConstants |
Put
| C# | SftTreeVAlignConstants object.VAlignStyle = VAlign; |
| VB.NET | object.VAlignStyle = VAlign As SftTreeVAlignConstants |
| C++ | enum SftTreeVAlignConstants object->VAlignStyle = VAlign; void object->PutVAlignStyle(enum SftTreeVAlignConstants VAlign); |
| C | HRESULT object->put_VAlignStyle(enum SftTreeVAlignConstants VAlign); |
| VB | object.VAlignStyle = VAlign As SftTreeVAlignConstants |
object
VAlign
Defines the vertical alignment of tree lines, expand/collapse buttons, label, plus/minus and item graphics.
| Align | Value | Description |
|---|---|---|
| valignSftTreeCenter | 0 | The tree lines, expand/collapse buttons, label graphics, plus/minus graphics and item graphics are vertically centered. If no alignment value is specified, this is the default. |
| valignSftTreeTop | 1 | The tree lines, expand/collapse buttons, label graphics, plus/minus graphics and item graphics are aligned with the top of the available area. |
| valignSftTreeBottom | 2 | The tree lines, expand/collapse buttons, label graphics, plus/minus graphics and item graphics are aligned with the bottom of the available area. |
The VAlignStyle property defines the vertical alignment of tree lines, expand/collapse buttons, label graphics, plus/minus graphics and item graphics.
Columns and cells can further define the vertical alignment of cell contents (see Column.CellVAlign, Cell.TextVAlign and Cell.ImageVAlign).
See Also SftTree Object | Object Hierarchy