HeaderPane
Main
Hide
Share Link
Print

ForeColorOdd Property, SftTree Object

Defines the text color used to draw items in odd rows.

Deprecated - Provided for compatibility with earlier versions only - Use Items.ForeColorOdd instead

Syntax

Get

C#System.Drawing.Color Clr = object.ForeColorOdd;
VB.NETClr = object.ForeColorOdd As System.Drawing.Color
C++OLE_COLOR Clr = object->ForeColorOdd;
OLE_COLOR Clr = object->GetForeColorOdd();
CHRESULT object->get_ForeColorOdd(OLE_COLOR* Clr);
VBClr = object.ForeColorOdd As OLE_COLOR

Put

C#System.Drawing.Color object.ForeColorOdd = Clr;
VB.NETobject.ForeColorOdd = Clr As System.Drawing.Color
C++OLE_COLOR object->ForeColorOdd = Clr;
void object->PutForeColorOdd(OLE_COLOR Clr);
CHRESULT object->put_ForeColorOdd(OLE_COLOR Clr);
VBobject.ForeColorOdd = Clr As OLE_COLOR

object

A SftTree object.

Clr

Defines the text color used to draw items in odd rows. For information about color properties, please visit the applicable section "Using SftTree/OCX with ...".

Comments

Deprecated - Provided for compatibility with earlier versions only - Use Items.ForeColorOdd instead

The ForeColorOdd property defines the text color used to draw items in odd rows.

Columns can override the foreground color using the Column.ForeColor property. Cells can override the foreground color using the Cell.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 ForeColorOdd property is used for the remainder of the item.

See Also SftTree Object | Object Hierarchy


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