Hide

SftBox/OCX 5.0 - Combo Box Control

Display
Print

SftBox.VAlignStyle Property

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

Syntax

Get

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

Put

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

object

A SftBox object.

VAlign

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

AlignValueDescription
valignSftBoxCenter0The tree lines, expand/collapse buttons, label graphics and item graphics are vertically centered. If no alignment value is specified, this is the default.
valignSftBoxTop1The tree lines, expand/collapse buttons, label graphics and item graphics are aligned with the top of the available area.
valignSftBoxBottom2The tree lines, expand/collapse buttons, label 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 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 SftBox Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.