Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

TextVAlign Property, SftTreeHeader Object

Defines the vertical alignment of the text in this column header.

Syntax

Get

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

Put

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

object

A SftTreeHeader object.

Style

Defines the vertical alignment of the text in this column header.

NameValueDescription
valignSftTreeCenter0The text is vertically centered.
valignSftTreeTop1The text is aligned with the top of the available area.
valignSftTreeBottom2The text is aligned with the bottom of the available area.

Comments

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

To change the default alignment of cell text use the Column.CellHAlign and Column.CellVAlign properties instead.

The Headers.Multiline property can be used to enable multi-line column header text.

See Also SftTreeHeader Object | Object Hierarchy


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