Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
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

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

Put

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

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 08/13/2020 - (email)
© 2024 Softel vdm, Inc.


Spring Break!

Our offices will be closed this week (March 18 through March 22).

We'll be back March 24 to address any pending sales and support issues.