Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

VAlignStyle Property, SftTree Object

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

Syntax

Get

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

Put

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

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 08/13/2020 - (email)
© 2024 Softel vdm, Inc.