Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
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

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

Put

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

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