HeaderPane
Main
Hide
Share Link
Print

ForeColorOdd Property, SftTreeItems Object

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

Syntax

Get

C#uint Clr = object.ForeColorOdd;
VB.NETClr = object.ForeColorOdd As UInteger
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#uint object.ForeColorOdd = Clr;
VB.NETobject.ForeColorOdd = Clr As UInteger
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 SftTreeItems 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

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 SftTreeItems Object | Object Hierarchy


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