HeaderPane
Main
Hide
Share Link
Print

SftBoxEdit.TextHAlign Property

Defines the horizontal alignment of the text in the edit control portion.

Syntax

Get

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

Put

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

object

A SftBoxEdit object.

Style

Defines the horizontal alignment of the text in the edit control portion.

NameValueDescription
halignSftBoxDefault-1The text is aligned as defined using the first displayed column (see Column.CellHAlign).
halignSftBoxDefaultLeft0The text is left aligned.
halignSftBoxDefaultCenter1The text is centered in the edit control portion.
halignSftBoxDefaultRight2The text is right aligned.

Comments

The TextHAlign property defines the horizontal alignment of the text in the edit control portion.

See Also SftBoxEdit Object | Object Hierarchy


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