Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

TextVAlign Property, SftTreeCell Object

Defines the vertical alignment of the text in this cell.

Syntax

Get

VB.NETStyle = object.TextVAlign As SftTreeVAlignDefaultConstants
VBStyle = object.TextVAlign As SftTreeVAlignDefaultConstants
C#.NETSftTreeVAlignDefaultConstants Style = object.TextVAlign;
VC++enum SftTreeVAlignDefaultConstants Style = object->TextVAlign;
enum SftTreeVAlignDefaultConstants Style = object->GetTextVAlign();
CHRESULT object->get_TextVAlign(enum SftTreeVAlignDefaultConstants* Style);

Put

VB.NETobject.TextVAlign = Style As SftTreeVAlignDefaultConstants
VBobject.TextVAlign = Style As SftTreeVAlignDefaultConstants
C#.NETSftTreeVAlignDefaultConstants object.TextVAlign = Style;
VC++enum SftTreeVAlignDefaultConstants object->TextVAlign = Style;
void object->PutTextVAlign(enum SftTreeVAlignDefaultConstants Style);
CHRESULT object->put_TextVAlign(enum SftTreeVAlignDefaultConstants Style);

object

A SftTreeCell object.

Style

Defines the vertical alignment of the text in this cell.

NameValueDescription
valignSftTreeDefault-1The text is aligned as defined using the default settings for this cell's column (see Column.CellVAlign).
valignSftTreeDefaultCenter0The cell text is vertically centered.
valignSftTreeDefaultTop1The cell text is aligned with the top of the available area.
valignSftTreeDefaultBottom2The cell text is aligned with the bottom of the available area.

Comments

The TextVAlign property defines the vertical alignment of the text in this cell.

The Cell.TextHAlign property is used to define the horizontal alignment of the text in this cell.

The TextVAlign property determines the position of the cell text and graphic, defined using the Cell.Text and Cell.Image properties. It overrides the column's default alignment defined using the Column.CellVAlign property.

See Also SftTreeCell Object | Object Hierarchy


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