HeaderPane
Main
Hide
Share Link
Print

SftBoxItems.ForeColor Property

Defines the default foreground color for all items.

Syntax

Get

C#uint Clr = object.ForeColor;
VB.NETClr = object.ForeColor As UInteger
C++OLE_COLOR Clr = object->ForeColor;
OLE_COLOR Clr = object->GetForeColor();
CHRESULT object->get_ForeColor(OLE_COLOR* Clr);
VBClr = object.ForeColor As OLE_COLOR

Put

C#uint object.ForeColor = Clr;
VB.NETobject.ForeColor = Clr As UInteger
C++OLE_COLOR object->ForeColor = Clr;
void object->PutForeColor(OLE_COLOR Clr);
CHRESULT object->put_ForeColor(OLE_COLOR Clr);
VBobject.ForeColor = Clr As OLE_COLOR

object

A SftBoxItems object.

Clr

Defines the default foreground color for all items. For information about color properties, please visit the applicable section "Using SftBox/OCX with ...".

Comments

The ForeColor property defines the default foreground color for all items.

Items on odd numbered rows use the color defined using Items.ForeColorOdd instead. Columns can override this color using the Column.ForeColor property. Cells can override this color using the Cell.ForeColor property. Items that are selected use the color defined using Items.SelectForeColor instead.

See Also SftBoxItems Object | Object Hierarchy


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