|
|
|
SftTreeItems.ForeColor Property |
Defines the default text color used to draw items that are not selected.
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 SftTreeItems object.
Clr
Defines the default text color used to draw items that are not selected. For information about color properties, please visit the applicable section "Using SftTree/OCX with ...".
Comments
The ForeColor property defines the default text color used to draw items that are not selected.
Columns can override the default foreground color using the Column.ForeColor property. Cells can override the default foreground color using the Cell.ForeColor property. If an item is disabled (Item.Enabled property), the Items.GrayedColor property is used instead of the ForeColor property. If a selected item uses a selection style (Items.SelectStyle property) that uses the Items.SelectForeColor property for only portions of the item, the ForeColor property is used for the remainder of the item.
See Also SftTreeItems Object | Object Hierarchy