Defines the cell'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 cell's background color. Specify -1 to restore the default color. For information about color properties, please visit the applicable section "Using SftBox/OCX with ...".
The BackColor property defines the cell's background color.
This color overrides the default color defined using Items.BackColor or Column.BackColor. If a cell is part of a selected item and the Items.SelectionStyle is suitably defined, the background color defined using the Cell.SelectBackColor property is used instead.
See Also SftBoxCell Object | Object Hierarchy