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 the selection shown in the static portion is aligned with the same item in the drop down portion (relevant for hierarchies only).
Get
VB.NET | Boolean = object.AlignSelection As Boolean |
VB | Boolean = object.AlignSelection As Boolean |
C#.NET | bool Boolean = object.AlignSelection; |
VC++ | VARIANT_BOOL Boolean = object->AlignSelection; VARIANT_BOOL Boolean = object->GetAlignSelection(); |
C | HRESULT object->get_AlignSelection(VARIANT_BOOL* Boolean); |
Put
VB.NET | object.AlignSelection = Boolean As Boolean |
VB | object.AlignSelection = Boolean As Boolean |
C#.NET | bool object.AlignSelection = Boolean; |
VC++ | VARIANT_BOOL object->AlignSelection = Boolean; void object->PutAlignSelection(VARIANT_BOOL Boolean); |
C | HRESULT object->put_AlignSelection(VARIANT_BOOL Boolean); |
object
Boolean
Defines whether the selection shown in the static portion is aligned with the same item in the drop down portion (relevant for hierarchies only).
Boolean | Description |
---|---|
True | The displayed cell of the selected item in the static portion is aligned with the item's cell in the drop down portion. |
False | The displayed cell of the selected item in the static portion is not aligned and is displayed left-aligned, without hierarchical information (tree lines, indentation). |
The AlignSelection property defines whether the selection shown in the static portion is aligned with the same item in the drop down portion (relevant for hierarchies only).
The AlignSelection property has no effect on the edit control portion, which never shows hierarchical information. The Edit.TextHAlign property can be used to define the horizontal alignment of the text in the edit control portion.
See Also SftBox Object | Object Hierarchy