Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

TextHAlign Property, SftTreeRowColumnHeader Object

Defines the horizontal alignment of the text in the row/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 SftTreeRowColumnHeader object.

Style

Defines the horizontal alignment of the text in the row/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 the row/column header.

The RowColumnHeader.Text property can be used to define the text displayed in the row/column header.

See Also SftTreeRowColumnHeader Object | Object Hierarchy


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