SftTree/OCX 7.0

SftTree.VAlignStyle Property

Softel vdm, Inc.

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

Syntax       

Get

VB.NET

VAlign = object.VAlignStyle  As SftTreeVAlignConstants

VB

VAlign = object.VAlignStyle  As SftTreeVAlignConstants

C#.NET

SftTreeVAlignConstants VAlign = object.VAlignStyle;

VC++

enum SftTreeVAlignConstants VAlign = object->VAlignStyle;
enum SftTreeVAlignConstants VAlign = object->GetVAlignStyle();

C

HRESULT object->get_VAlignStyle(enum SftTreeVAlignConstants* VAlign);

Delphi

VAlign := object.VAlignStyle  : TOleEnum;

Put

VB.NET

object.VAlignStyle = VAlign  As SftTreeVAlignConstants

VB

object.VAlignStyle = VAlign  As SftTreeVAlignConstants

C#.NET

SftTreeVAlignConstants object.VAlignStyle = VAlign;

VC++

enum SftTreeVAlignConstants object->VAlignStyle = VAlign;
void object->PutVAlignStyle(enum SftTreeVAlignConstants VAlign);

C

HRESULT object->put_VAlignStyle(enum SftTreeVAlignConstants VAlign);

Delphi

object.VAlignStyle := VAlign  : TOleEnum;

object

A SftTree 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.

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


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com