Defines the drop down button's background color.
Get
| C# | uint Clr = object.BackColor; |
| VB.NET | Clr = object.BackColor As UInteger![]() |
| C++ | OLE_COLOR Clr = object->BackColor; OLE_COLOR Clr = object->GetBackColor(); |
| C | HRESULT object->get_BackColor(OLE_COLOR* Clr); |
Put
| C# | uint object.BackColor = Clr; |
| VB.NET | object.BackColor = Clr As UInteger![]() |
| C++ | OLE_COLOR object->BackColor = Clr; void object->PutBackColor(OLE_COLOR Clr); |
| C | HRESULT object->put_BackColor(OLE_COLOR Clr); |
object
Clr
Defines the drop down button's background color. For information about color properties, please visit the applicable section "Using SftBox/OCX with ...". Set to -1 to use the default color suitable for the current button style (DropDown.ButtonStyle) and Windows themes settings.
The BackColor property defines the drop down button's background color.
This property only takes effect if DropDown.ButtonStyle is set to constSftBoxDDStyleClassic or a drop down button image has been defined (DropDown.Image property) with a DropDown.ButtonStyle value other than constSftBoxDDStyleHover or constSftBoxDDStyleHoverNoThemes.
On Windows Vista and up, it is used to define the background color of the semi-transparent drop down button when Windows themes are used (DropDown.ButtonStyle is constSftBoxDDStyleDefault).
See Also SftBoxDropDown Object | Object Hierarchy