HeaderPane
Main
Hide
Share Link
Print

GrayedColor Property, SftTree Object

Defines the text color used to draw items that are disabled.

Deprecated - Provided for compatibility with earlier versions only - Use Items.GrayedColor instead

Syntax

Get

C#System.Drawing.Color Clr = object.GrayedColor;
VB.NETClr = object.GrayedColor As System.Drawing.Color
C++OLE_COLOR Clr = object->GrayedColor;
OLE_COLOR Clr = object->GetGrayedColor();
CHRESULT object->get_GrayedColor(OLE_COLOR* Clr);
VBClr = object.GrayedColor As OLE_COLOR

Put

C#System.Drawing.Color object.GrayedColor = Clr;
VB.NETobject.GrayedColor = Clr As System.Drawing.Color
C++OLE_COLOR object->GrayedColor = Clr;
void object->PutGrayedColor(OLE_COLOR Clr);
CHRESULT object->put_GrayedColor(OLE_COLOR Clr);
VBobject.GrayedColor = Clr As OLE_COLOR

object

A SftTree object.

Clr

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

Comments

Deprecated - Provided for compatibility with earlier versions only - Use Items.GrayedColor instead

The GrayedColor property defines the text color used to draw items that are disabled.

Columns can override the foreground color using the Column.ForeColor property.

Individual cells can override the foreground color for disabled items using the Cell.ForeColor property.

See Also SftTree Object | Object Hierarchy


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