SftTree/OCX 7.0

VirtualItem.RowTextAlign Property

Softel vdm, Inc.

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.NET

object.RowTextAlign = Align  As SftTreeAlignConstants

VB

object.RowTextAlign = Align  As SftTreeAlignConstants

C#.NET

SftTreeAlignConstants object.RowTextAlign = Align;

VC++

enum SftTreeAlignConstants object->RowTextAlign = Align;
void object->PutRowTextAlign(enum SftTreeAlignConstants Align);

C

HRESULT object->put_RowTextAlign(enum SftTreeAlignConstants Align);

Delphi

object.RowTextAlign := Align  : TOleEnum;

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 Alignment

Value

Description

alignSftTreeLeft 

0

The text and graphic are left aligned within the available area. If no horizontal alignment value is specified, this is the default.

alignSftTreeCenter

1

The text and graphic are centered within the available area.

alignSftTreeRight 

2

The text and graphic are right aligned within the available area.

Vertical Alignment

Value

Description

alignSftTreeVCenter

16

The text and graphic are vertically centered. If no vertical alignment value is specified, this is the default.

alignSftTreeTop

32

The text and graphic are aligned with the top of the available area.

alignSftTreeBottom

64

The 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


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com