HeaderPane
Main
Hide
Share Link
Print

SelectForeColor Property, SftTreeItems Object

Defines the text color used to draw selected items.

Syntax

Get

C#uint Clr = object.SelectForeColor;
VB.NETClr = object.SelectForeColor As UInteger
C++OLE_COLOR Clr = object->SelectForeColor;
OLE_COLOR Clr = object->GetSelectForeColor();
CHRESULT object->get_SelectForeColor(OLE_COLOR* Clr);
VBClr = object.SelectForeColor As OLE_COLOR

Put

C#uint object.SelectForeColor = Clr;
VB.NETobject.SelectForeColor = Clr As UInteger
C++OLE_COLOR object->SelectForeColor = Clr;
void object->PutSelectForeColor(OLE_COLOR Clr);
CHRESULT object->put_SelectForeColor(OLE_COLOR Clr);
VBobject.SelectForeColor = Clr As OLE_COLOR

object

A SftTreeItems object.

Clr

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

Comments

The SelectForeColor property defines the text color used to draw selected items.

Columns can override the default foreground color using the Column.SelectForeColor property. Cells can override the foreground color using the Cell.SelectForeColor property. If an item is disabled (Item.Enabled property), the Items.GrayedColor property is used instead of the Items.SelectForeColor property. If a selected item uses a selection style (Items.SelectStyle property) that uses the SelectForeColor property for only portions of the item, the Items.ForeColor 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.