Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

ColumnForeColor Property, SftTree Object

Defines the text color of cells in the specified column.

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

Syntax

Get

VB.NETClr = object.get_ColumnForeColor(ByVal ColIndex As Short) As System.Drawing.Color
VBClr = object.ColumnForeColor(ByVal ColIndex As Integer) As OLE_COLOR
C#.NETSystem.Drawing.Color Clr = object.get_ColumnForeColor(short ColIndex);
VC++OLE_COLOR Clr = object->ColumnForeColor[short ColIndex];
OLE_COLOR Clr = object->GetColumnForeColor(short ColIndex);
CHRESULT object->get_ColumnForeColor(short ColIndex, OLE_COLOR* Clr);

Put

VB.NETobject.set_ColumnForeColor(ByVal ColIndex As Short, ByVal Clr As System.Drawing.Color)
VBobject.ColumnForeColor(ByVal ColIndex As Integer) = Clr As OLE_COLOR
C#.NETvoid object.set_ColumnForeColor(short ColIndex, uint Clr);
VC++OLE_COLOR object->ColumnForeColor[short ColIndex] = Clr;
void object->PutColumnForeColor(short ColIndex, OLE_COLOR Clr);
CHRESULT object->put_ColumnForeColor(short ColIndex, OLE_COLOR Clr);

object

A SftTree object.

ColIndex

The zero-based column number.

Clr

Defines the text color of cells 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.ForeColor instead

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

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