SftTree/OCX 7.5 Documentation

CellHAlign Property, SftTreeColumn Object

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

Syntax

Get

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

Put

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

object

A SftTreeColumn object.

Style

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

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 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 SftTreeColumn Object | Object Hierarchy


Last Updated 04/28/2018 - (email)
© 2018 Softel vdm, Inc.