Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

TextHAlign Property, SftTreeHeader Object

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

Syntax

Get

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

Put

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

object

A SftTreeHeader object.

Style

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

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 TextHAlign property defines the horizontal alignment of the text in this column header.

To change the default alignment of cell text use the Column.CellHAlign and Column.CellVAlign properties instead.

The Headers.Multiline property can be used to enable multi-line column header text.

See Also SftTreeHeader Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2022 Softel vdm, Inc.