Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

ForeColor Property, SftTreeColumn Object

Defines the text color of cells in this column.

Syntax

Get

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

Put

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

object

A SftTreeColumn object.

Clr

Defines the text color of cells in this column. -1 indicates that there is no defined color and the default colors are used. For information about color properties, please visit the applicable section "Using SftTree/OCX with ...".

Comments

The ForeColor property defines the text color of cells in this column.

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 SftTreeColumn Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2022 Softel vdm, Inc.