|
|
|
SftTree.ColumnTextStyle Property |
Defines a column header's text style.
Deprecated - Provided for compatibility with earlier versions only - Use Header.TextHAlign and Header.TextVAlign instead
Syntax
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];
|
||
C |
HRESULT object->get_ColumnTextStyle(short ColIndex, enum SftTreeAlignConstants* Align); |
||
Delphi |
Align := object.ColumnTextStyle[ColIndex : Smallint] : TOleEnum; |
||
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;
|
||
C |
HRESULT object->put_ColumnTextStyle(short ColIndex, enum SftTreeAlignConstants Align); |
||
Delphi |
object.ColumnTextStyle[ColIndex : Smallint] := Align : TOleEnum; |
object
A SftTree 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 |
0 |
The text and graphic component are left aligned. |
|
1 |
The text and graphic component are centered. |
|
2 |
The text and graphic component are right aligned. |
|
Vertical Alignment |
Value |
Description |
16 |
The text is vertically centered. If no vertical alignment value is specified, this is the default. |
|
32 |
The text is aligned with the top of the available area. |
|
64 |
The text is aligned with the bottom of the available area. |
Comments
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