|
|
|
VirtualItem.RowTextAlign Property |
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
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;
|
||
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 |
0 |
The text and graphic are left aligned within the available area. If no horizontal alignment value is specified, this is the default. |
|
1 |
The text and graphic are centered within the available area. |
|
2 |
The text and graphic are right aligned within the available area. |
|
Vertical Alignment |
Value |
Description |
16 |
The text and graphic are vertically centered. If no vertical alignment value is specified, this is the default. |
|
32 |
The text and graphic are aligned with the top of the available area. |
|
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