Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

RowPictureAlign Property, VirtualItem Object

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

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

Syntax

Put

VB.NETobject.RowPictureAlign = Align As SftTreeAlignConstants
VBobject.RowPictureAlign = Align As SftTreeAlignConstants
C#.NETSftTreeAlignConstants object.RowPictureAlign = Align;
VC++enum SftTreeAlignConstants object->RowPictureAlign = Align;
void object->PutRowPictureAlign(enum SftTreeAlignConstants Align);
CHRESULT object->put_RowPictureAlign(enum SftTreeAlignConstants Align);

object

A VirtualItem object.

Align

Defines the position of the graphic 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 graphic is on the left of the row header text. If no horizontal alignment value is specified, this is the default.
alignSftTreeCenter1The graphic is centered in the row header. The row header text is not displayed.
alignSftTreeRight2The graphic is on the right of the row header text.
Vertical AlignmentValueDescription
alignSftTreeVCenter16The graphic is vertically centered. If no vertical alignment value is specified, this is the default.
alignSftTreeTop32The graphic is aligned with the top of the available area.
alignSftTreeBottom64The graphic is aligned with the bottom of the available area.

Comments

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

The RowPictureAlign property defines the position of the graphic displayed in an item's row header.

The VirtualItem.RowPictureAlign property is used while handling a VirtualItem event to define the position of the graphic 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.