SftBoxItems.GrayedColor Property
Defines the default foreground color for all disabled items.
Syntax
Get
| VB.NET | Clr = object.GrayedColor As UInteger |
| VB | Clr = object.GrayedColor As OLE_COLOR |
| C#.NET | uint Clr = object.GrayedColor; |
| VC++ | OLE_COLOR Clr = object->GrayedColor; OLE_COLOR Clr = object->GetGrayedColor(); |
| C | HRESULT object->get_GrayedColor(OLE_COLOR* Clr); |
Put
| VB.NET | object.GrayedColor = Clr As UInteger |
| VB | object.GrayedColor = Clr As OLE_COLOR |
| C#.NET | uint object.GrayedColor = Clr; |
| VC++ | OLE_COLOR object->GrayedColor = Clr; void object->PutGrayedColor(OLE_COLOR Clr); |
| C | HRESULT object->put_GrayedColor(OLE_COLOR Clr); |
object
A SftBoxItems object.
Clr
Defines the default foreground color for all disabled items. For information about color properties, please visit the applicable section "Using SftBox/OCX with ...".
Comments
The GrayedColor property defines the default foreground color for all disabled items.
Items can be disabled using the Item.Enabled property.
See Also SftBoxItems Object | Object Hierarchy