SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Defines whether item graphics are aligned with higher level cells.
Get
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; VARIANT_BOOL Boolean = object->GetItemImageAlign(); |
C | HRESULT object->get_ItemImageAlign(VARIANT_BOOL* Boolean); |
Put
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; void object->PutItemImageAlign(VARIANT_BOOL Boolean); |
C | HRESULT object->put_ItemImageAlign(VARIANT_BOOL Boolean); |
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. |
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