HeaderPane
Main
Hide
Share Link
Print

SftBoxColumn.CellHAlign Property

Defines the default horizontal alignment of cell contents in this column.

Syntax

Get

C#SftBoxHAlignConstants Style = object.CellHAlign;
VB.NETStyle = object.CellHAlign As SftBoxHAlignConstants
C++enum SftBoxHAlignConstants Style = object->CellHAlign;
enum SftBoxHAlignConstants Style = object->GetCellHAlign();
CHRESULT object->get_CellHAlign(enum SftBoxHAlignConstants* Style);
VBStyle = object.CellHAlign As SftBoxHAlignConstants

Put

C#SftBoxHAlignConstants object.CellHAlign = Style;
VB.NETobject.CellHAlign = Style As SftBoxHAlignConstants
C++enum SftBoxHAlignConstants object->CellHAlign = Style;
void object->PutCellHAlign(enum SftBoxHAlignConstants Style);
CHRESULT object->put_CellHAlign(enum SftBoxHAlignConstants Style);
VBobject.CellHAlign = Style As SftBoxHAlignConstants

object

A SftBoxColumn object.

Style

Defines the default horizontal alignment of cell contents in this column.

NameValueDescription
halignSftBoxLeft0The text and graphic component are left aligned.
halignSftBoxCenter1The text and graphic component are centered.
halignSftBoxRight2The text and graphic component are right aligned.

Comments

The CellHAlign property defines the default horizontal alignment of cell contents in this column.

The alignment applies to all cells in the column specified. Individual cells can override the defined default alignment using the Cell.TextHAlign, Cell.TextVAlign, Cell.ImageHAlign and Cell.ImageVAlign properties.

See Also SftBoxColumn Object | Object Hierarchy


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