HeaderPane
Main
Hide
Share Link
Print

SftBoxHeader.TextHAlign Property

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

Syntax

Get

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

Put

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

object

A SftBoxHeader object.

Style

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

NameValueDescription
halignSftBoxLeft0The column header text is left aligned.
halignSftBoxCenter1The column header text is centered in the cell.
halignSftBoxRight2The column header text is right aligned.

Comments

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

The Header.TextVAlign property is used to define the vertical alignment of the text in this column header.

The Header.ImageHAlign and Header.ImageVAlign properties are used to align the column header graphic component.

See Also SftBoxHeader Object | Object Hierarchy


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