HeaderPane
Main
Hide
Share Link
Print

VAlignStyle Property, SftTree Object

Defines the vertical alignment of tree lines, expand/collapse buttons, label, plus/minus and item graphics.

Syntax

Get

C#SftTreeVAlignConstants VAlign = object.VAlignStyle;
VB.NETVAlign = object.VAlignStyle As SftTreeVAlignConstants
C++enum SftTreeVAlignConstants VAlign = object->VAlignStyle;
enum SftTreeVAlignConstants VAlign = object->GetVAlignStyle();
CHRESULT object->get_VAlignStyle(enum SftTreeVAlignConstants* VAlign);
VBVAlign = object.VAlignStyle As SftTreeVAlignConstants

Put

C#SftTreeVAlignConstants object.VAlignStyle = VAlign;
VB.NETobject.VAlignStyle = VAlign As SftTreeVAlignConstants
C++enum SftTreeVAlignConstants object->VAlignStyle = VAlign;
void object->PutVAlignStyle(enum SftTreeVAlignConstants VAlign);
CHRESULT object->put_VAlignStyle(enum SftTreeVAlignConstants VAlign);
VBobject.VAlignStyle = VAlign As SftTreeVAlignConstants

object

A SftTree object.

VAlign

Defines the vertical alignment of tree lines, expand/collapse buttons, label, plus/minus and item graphics.

AlignValueDescription
valignSftTreeCenter0The 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.
valignSftTreeTop1The tree lines, expand/collapse buttons, label graphics, plus/minus graphics and item graphics are aligned with the top of the available area.
valignSftTreeBottom2The tree lines, expand/collapse buttons, label graphics, plus/minus graphics and item graphics are aligned with the bottom of the available area.

Comments

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


Last Updated 11/03/2026 - (email)
© 2026 Softel vdm, Inc.