HeaderPane
Main
Hide
Share Link
Print

ColumnSelectForeColor Property, SftTree Object

Defines the text color of selected items in the specified column.

Deprecated - Provided for compatibility with earlier versions only - Use Column.SelectForeColor instead

Syntax

Get

C#System.Drawing.Color Clr = object.get_ColumnSelectForeColor(short ColIndex);
VB.NETClr = object.get_ColumnSelectForeColor(ByVal ColIndex As Short) As System.Drawing.Color
C++OLE_COLOR Clr = object->ColumnSelectForeColor[short ColIndex];
OLE_COLOR Clr = object->GetColumnSelectForeColor(short ColIndex);
CHRESULT object->get_ColumnSelectForeColor(short ColIndex, OLE_COLOR* Clr);
VBClr = object.ColumnSelectForeColor(ByVal ColIndex As Integer) As OLE_COLOR

Put

C#void object.set_ColumnSelectForeColor(short ColIndex, uint Clr);
VB.NETobject.set_ColumnSelectForeColor(ByVal ColIndex As Short, ByVal Clr As UInteger)
C++OLE_COLOR object->ColumnSelectForeColor[short ColIndex] = Clr;
void object->PutColumnSelectForeColor(short ColIndex, OLE_COLOR Clr);
CHRESULT object->put_ColumnSelectForeColor(short ColIndex, OLE_COLOR Clr);
VBobject.ColumnSelectForeColor(ByVal ColIndex As Integer) = Clr As OLE_COLOR

object

A SftTree object.

ColIndex

The zero-based column number.

Clr

Defines the text color of selected items in the specified column. For information about color properties, please visit the applicable section "Using SftTree/OCX with ...".

Comments

Deprecated - Provided for compatibility with earlier versions only - Use Column.SelectForeColor instead

The ColumnSelectForeColor property defines the text color of selected items in the specified column ColIndex of items that are selected.

Cells can override the foreground color using the Cell.SelectForeColor property. If a selected item uses a selection style (Items.SelectStyle property) that uses the Column.SelectForeColor property for only portions of the item, the Column.ForeColor 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.