Hide

SftBox/OCX 5.0 - Combo Box Control

Display
Print

SftBoxColumn.CellHAlign Property

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

Syntax

Get

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

Put

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

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 08/13/2020 - (email)
© 2024 Softel vdm, Inc.