|
|
|
SftTreeRowHeader.ForeColor Property |
Defines the row header'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 SftTreeRowHeader object.
Clr
Defines the row header's foreground color. For information about color properties, please visit the applicable section "Using SftTree/OCX with ...".
Comments
The ForeColor property defines the row header's foreground color.
The row header has the foreground color attribute Clr. This color is used as foreground color when the item is not selected. If the item is selected, the RowHeader.SelectForeColor property is used instead.
When updating this property and the specified color Clr is the same value as the color currently defined using RowHeaders.ForeColor, the value -1 is saved, indicating that there is no defined color and default colors are used.
This property has no effect if Windows themes are used. The RowHeader.OverrideTheme property can be used to override Windows themes so defined colors are used instead.
See Also SftTreeRowHeader Object | Object Hierarchy