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 the position of the text displayed in an item's row header.
Deprecated - Provided for compatibility with earlier versions only - Use RowHeader.TextHAlign and RowHeader.TextVAlign instead
Get
VB.NET | Align = object.get_RowTextAlign(ByVal ItemIndex As Integer) As SftTreeAlignConstants |
VB | Align = object.RowTextAlign(ByVal ItemIndex As Long) As SftTreeAlignConstants |
C#.NET | SftTreeAlignConstants Align = object.get_RowTextAlign(int ItemIndex); |
VC++ | enum SftTreeAlignConstants Align = object->RowTextAlign[long ItemIndex]; enum SftTreeAlignConstants Align = object->GetRowTextAlign(long ItemIndex); |
C | HRESULT object->get_RowTextAlign(long ItemIndex, enum SftTreeAlignConstants* Align); |
Put
VB.NET | object.set_RowTextAlign(ByVal ItemIndex As Integer, ByVal Align As SftTreeAlignConstants) |
VB | object.RowTextAlign(ByVal ItemIndex As Long) = Align As SftTreeAlignConstants |
C#.NET | void object.set_RowTextAlign(int ItemIndex, SftTreeAlignConstants Align); |
VC++ | enum SftTreeAlignConstants object->RowTextAlign[long ItemIndex] = Align; void object->PutRowTextAlign(long ItemIndex, enum SftTreeAlignConstants Align); |
C | HRESULT object->put_RowTextAlign(long ItemIndex, enum SftTreeAlignConstants Align); |
object
ItemIndex
The zero-based item index.
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 |
---|---|---|
alignSftTreeLeft | 0 | The text and graphic are left aligned within the available area. If no horizontal alignment value is specified, this is the default. |
alignSftTreeCenter | 1 | The text and graphic are centered within the available area. |
alignSftTreeRight | 2 | The text and graphic are right aligned within the available area. |
Vertical Alignment | Value | Description |
alignSftTreeVCenter | 16 | The text and graphic are vertically centered. If no vertical alignment value is specified, this is the default. |
alignSftTreeTop | 32 | The text and graphic are aligned with the top of the available area. |
alignSftTreeBottom | 64 | The text and graphic are aligned with the bottom of the available area. |
Deprecated - Provided for compatibility with earlier versions only - Use RowHeader.TextHAlign and RowHeader.TextVAlign instead
The RowTextAlign property defines the position of the text displayed in an item's row header.
Row header text and graphics are defined using the RowHeader.Text and RowHeader.Image properties.
The default alignment for all row headers is defined using the RowHeaders.TextHAlign and RowHeaders.TextVAlign properties.
See Also SftTree Object | Object Hierarchy