HeaderPane
Main
Hide
Share Link
Print

RowForeColor Property, SftTree Object

Defines the row header text color used to draw the item when it is not selected.

Deprecated - Provided for compatibility with earlier versions only - Use RowHeader.ForeColor instead

Syntax

Get

C#System.Drawing.Color Clr = object.get_RowForeColor(int ItemIndex);
VB.NETClr = object.get_RowForeColor(ByVal ItemIndex As Integer) As System.Drawing.Color
C++OLE_COLOR Clr = object->RowForeColor[long ItemIndex];
OLE_COLOR Clr = object->GetRowForeColor(long ItemIndex);
CHRESULT object->get_RowForeColor(long ItemIndex, OLE_COLOR* Clr);
VBClr = object.RowForeColor(ByVal ItemIndex As Long) As OLE_COLOR

Put

C#void object.set_RowForeColor(int ItemIndex, uint Clr);
VB.NETobject.set_RowForeColor(ByVal ItemIndex As Integer, ByVal Clr As UInteger)
C++OLE_COLOR object->RowForeColor[long ItemIndex] = Clr;
void object->PutRowForeColor(long ItemIndex, OLE_COLOR Clr);
CHRESULT object->put_RowForeColor(long ItemIndex, OLE_COLOR Clr);
VBobject.RowForeColor(ByVal ItemIndex As Long) = Clr As OLE_COLOR

object

A SftTree object.

ItemIndex

The zero-based item index.

Clr

Defines the row header text color used to draw the item when it is not selected. For information about color properties, please visit the applicable section "Using SftTree/OCX with ...".

Comments

Deprecated - Provided for compatibility with earlier versions only - Use RowHeader.ForeColor instead

The RowForeColor property defines the row header text color used to draw the item when it is not selected.

The row header described by ItemIndex 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.

This property has no effect if Windows themes are used.

See Also SftTree Object | Object Hierarchy


Last Updated 11/03/2026 - (email)
© 2026 Softel vdm, Inc.