HeaderPane
Main
Hide
Share Link
Print

TextHAlign Property, SftTreeRowHeader Object

Defines the horizontal alignment of the text in this row header.

Syntax

Get

C#SftTreeHAlignDefaultConstants Style = object.TextHAlign;
VB.NETStyle = object.TextHAlign As SftTreeHAlignDefaultConstants
C++enum SftTreeHAlignDefaultConstants Style = object->TextHAlign;
enum SftTreeHAlignDefaultConstants Style = object->GetTextHAlign();
CHRESULT object->get_TextHAlign(enum SftTreeHAlignDefaultConstants* Style);
VBStyle = object.TextHAlign As SftTreeHAlignDefaultConstants

Put

C#SftTreeHAlignDefaultConstants object.TextHAlign = Style;
VB.NETobject.TextHAlign = Style As SftTreeHAlignDefaultConstants
C++enum SftTreeHAlignDefaultConstants object->TextHAlign = Style;
void object->PutTextHAlign(enum SftTreeHAlignDefaultConstants Style);
CHRESULT object->put_TextHAlign(enum SftTreeHAlignDefaultConstants Style);
VBobject.TextHAlign = Style As SftTreeHAlignDefaultConstants

object

A SftTreeRowHeader object.

Style

Defines the horizontal alignment of the text in this row header.

NameValueDescription
halignSftTreeDefault-1The text is aligned as defined using the default settings for all row headers (see RowHeaders.TextHAlign).
halignSftTreeDefaultLeft0The text and graphic component are left aligned.
halignSftTreeDefaultCenter1The text and graphic component are centered.
halignSftTreeDefaultRight2The text and graphic component are right aligned.

Comments

The TextHAlign property defines the horizontal alignment of the text in this row header.

Row header text and graphics are defined using the RowHeader.Text and RowHeader.Image properties.

The default alignment for all row headers is defined using the RowHeaders.TextHAlign and RowHeaders.TextVAlign properties.

See Also SftTreeRowHeader Object | Object Hierarchy


Last Updated 11/03/2026 - (email)
© 2026 Softel vdm, Inc.