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 a column header's text style.
Deprecated - Provided for compatibility with earlier versions only - Use Header.TextHAlign and Header.TextVAlign instead
Get
VB.NET | Align = object.get_ColumnTextStyle(ByVal ColIndex As Short) As SftTreeAlignConstants |
VB | Align = object.ColumnTextStyle(ByVal ColIndex As Integer) As SftTreeAlignConstants |
C#.NET | SftTreeAlignConstants Align = object.get_ColumnTextStyle(short ColIndex); |
VC++ | enum SftTreeAlignConstants Align = object->ColumnTextStyle[short ColIndex]; enum SftTreeAlignConstants Align = object->GetColumnTextStyle(short ColIndex); |
C | HRESULT object->get_ColumnTextStyle(short ColIndex, enum SftTreeAlignConstants* Align); |
Put
VB.NET | object.set_ColumnTextStyle(ByVal ColIndex As Short, ByVal Align As SftTreeAlignConstants) |
VB | object.ColumnTextStyle(ByVal ColIndex As Integer) = Align As SftTreeAlignConstants |
C#.NET | void object.set_ColumnTextStyle(short ColIndex, SftTreeAlignConstants Align); |
VC++ | enum SftTreeAlignConstants object->ColumnTextStyle[short ColIndex] = Align; void object->PutColumnTextStyle(short ColIndex, enum SftTreeAlignConstants Align); |
C | HRESULT object->put_ColumnTextStyle(short ColIndex, enum SftTreeAlignConstants Align); |
object
ColIndex
The zero-based column number.
Align
Defines a column header's text style.
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 component are left aligned. |
alignSftTreeCenter | 1 | The text and graphic component are centered. |
alignSftTreeRight | 2 | The text and graphic component are right aligned. |
Vertical Alignment | Value | Description |
alignSftTreeVCenter | 16 | The text is vertically centered. If no vertical alignment value is specified, this is the default. |
alignSftTreeTop | 32 | The text is aligned with the top of the available area. |
alignSftTreeBottom | 64 | The text is aligned with the bottom of the available area. |
Deprecated - Provided for compatibility with earlier versions only - Use Header.TextHAlign and Header.TextVAlign instead
The ColumnTextStyle property defines a column header's text style.
To change the default alignment of cell text use the Column.CellHAlign and Column.CellVAlign properties instead.
The Headers.Multiline property can be used to enable multi-line column header text.
See Also SftTree Object | Object Hierarchy