|
|
|
SftTreeItems.ItemImageAlign Property |
Defines whether item graphics are aligned with higher level cells.
Syntax
VB.NET |
Boolean = object.ItemImageAlign As Boolean |
||
VB |
Boolean = object.ItemImageAlign As Boolean |
||
C#.NET |
bool Boolean = object.ItemImageAlign; |
||
VC++ |
VARIANT_BOOL Boolean = object->ItemImageAlign;
|
||
C |
HRESULT object->get_ItemImageAlign(VARIANT_BOOL* Boolean); |
||
Delphi |
Boolean := object.ItemImageAlign : WordBool; |
||
VB.NET |
object.ItemImageAlign = Boolean As Boolean |
||
VB |
object.ItemImageAlign = Boolean As Boolean |
||
C#.NET |
bool object.ItemImageAlign = Boolean; |
||
VC++ |
VARIANT_BOOL object->ItemImageAlign = Boolean;
|
||
C |
HRESULT object->put_ItemImageAlign(VARIANT_BOOL Boolean); |
||
Delphi |
object.ItemImageAlign := Boolean : WordBool; |
object
A SftTreeItems object.
Boolean
Defines whether item graphics are aligned with higher level cells.
Boolean |
Description |
True |
Item graphics of items at a lower level are aligned with the cell of the immediate parent level. |
False |
Item graphics are not aligned, resulting in a still indented, but narrower look. The width of the indentation is determined by the width of the expand/collapse button bitmaps, the width of the item pictures and the default font used for the tree control. |
Comments
The ItemImageAlign property defines whether item graphics are aligned with higher level cells.
In a variable height tree control, item graphics may be of varying widths and heights. If item bitmaps are smaller than the largest item bitmap used, the item bitmaps are horizontally centered within the space available for item bitmaps. This results in (smaller) item bitmaps not aligned with the cells of the parent level.
If the Items.Indentation property is used to define the exact indentation for item levels, the ItemImageAlign property defines whether tree lines are connected to the parent's item graphic or simply centered within the parent's cell.
See Also SftTreeItems Object | Object Hierarchy