|
|
|
SftTreeCell.ForeColor Property |
Defines the cell's foreground color.
Syntax
VB.NET |
|||
VB |
Clr = object.ForeColor As OLE_COLOR |
||
C#.NET |
|||
VC++ |
OLE_COLOR Clr = object->ForeColor; |
||
C |
HRESULT object->get_ForeColor(OLE_COLOR* Clr); |
||
Delphi |
Clr := object.ForeColor : Cardinal; |
||
VB.NET |
|||
VB |
object.ForeColor = Clr As OLE_COLOR |
||
C#.NET |
|||
VC++ |
OLE_COLOR object->ForeColor =
Clr; |
||
C |
HRESULT object->put_ForeColor(OLE_COLOR Clr); |
||
Delphi |
object.ForeColor := Clr : Cardinal; |
object
A SftTreeCell object.
Clr
Defines the cell's foreground color. -1 indicates that there is no defined color and the default color defined using Column.ForeColor is used. For information about color properties, please visit the applicable section "Using SftTree/OCX with ...".
Comments
The ForeColor property defines the cell's foreground color.
The cell has the foreground color attribute Clr. This color is used as text color when the item is not selected. If the item is selected and uses a suitable selection style (Items.SelectStyle), the Cell.SelectForeColor property is used instead.
See Also SftTreeCell Object | Object Hierarchy