HeaderPane
Main
Hide
Share Link
Print

TextHAlign Property, SftTreeRowHeaders Object

Defines the horizontal alignment of text in all row headers.

Syntax

Get

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

Put

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

object

A SftTreeRowHeaders object.

Style

Defines the horizontal alignment of text in all row headers.

NameValueDescription
halignSftTreeLeft0The text and graphic component are left aligned.
halignSftTreeCenter1The text and graphic component are centered.
halignSftTreeRight2The text and graphic component are right aligned.

Comments

The TextHAlign property defines the horizontal alignment of text in all row headers.

Individual row headers can override this default using the RowHeader.TextHAlign and RowHeader.TextVAlign properties.

See Also SftTreeRowHeaders Object | Object Hierarchy


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