Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

RowTextAlign Property, VirtualItem Object

Defines the position of the text displayed in the item's row header.

Deprecated - Provided for compatibility with earlier versions only - Use VirtualItem.Item.RowHeader.TextHAlign and VirtualItem.Item.RowHeader.TextVAlign instead

Syntax

Put

VB.NETobject.RowTextAlign = Align As SftTreeAlignConstants
VBobject.RowTextAlign = Align As SftTreeAlignConstants
C#.NETSftTreeAlignConstants object.RowTextAlign = Align;
VC++enum SftTreeAlignConstants object->RowTextAlign = Align;
void object->PutRowTextAlign(enum SftTreeAlignConstants Align);
CHRESULT object->put_RowTextAlign(enum SftTreeAlignConstants Align);

object

A VirtualItem object.

Align

Defines the position of the text displayed in the item's row header.

One value of each of the following tables can be combined and used as Align value:

Horizontal AlignmentValueDescription
alignSftTreeLeft0The text and graphic are left aligned within the available area. If no horizontal alignment value is specified, this is the default.
alignSftTreeCenter1The text and graphic are centered within the available area.
alignSftTreeRight2The text and graphic are right aligned within the available area.
Vertical AlignmentValueDescription
alignSftTreeVCenter16The text and graphic are vertically centered. If no vertical alignment value is specified, this is the default.
alignSftTreeTop32The text and graphic are aligned with the top of the available area.
alignSftTreeBottom64The text and graphic are aligned with the bottom of the available area.

Comments

Deprecated - Provided for compatibility with earlier versions only - Use VirtualItem.Item.RowHeader.TextHAlign and VirtualItem.Item.RowHeader.TextVAlign instead

The RowTextAlign property defines the position of the text displayed in the item's row header.

The VirtualItem.RowTextAlign property is used while handling a VirtualItem event to define the position of the text displayed in the item's row header. The item is described by the VirtualItem event's RowIndex parameter.

See Also VirtualItem Object | Object Hierarchy


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