HeaderPane
Main
Hide
Share Link
Print

SftBoxDropDown.GrayedColor Property

Defines the drop down button's foreground color if disabled.

Syntax

Get

C#uint Clr = object.GrayedColor;
VB.NETClr = object.GrayedColor As UInteger
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#uint object.GrayedColor = Clr;
VB.NETobject.GrayedColor = Clr As UInteger
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 SftBoxDropDown object.

Clr

Defines the drop down button's foreground color if disabled. For information about color properties, please visit the applicable section "Using SftBox/OCX with ...".

Comments

The GrayedColor property defines the drop down button's foreground color if disabled. The drop down button is automatically grayed when the combo box is empty.

This property only takes effect if DropDown.ButtonStyle is set to constSftBoxDDStyleClassic.

See Also SftBoxDropDown Object | Object Hierarchy


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