Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

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