HeaderPane
Main
Hide
Share Link
Print

TextVAlign Property, SftTreeHeader Object

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

Syntax

Get

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

Put

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

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 11/03/2026 - (email)
© 2026 Softel vdm, Inc.