Hide

SftBox/OCX 5.0 - Combo Box Control

Display
Print

SftBoxCell.BackColor Property

Defines the cell's background color.

Syntax

Get

VB.NETClr = object.BackColor As UInteger
VBClr = object.BackColor As OLE_COLOR
C#.NETuint Clr = object.BackColor;
VC++OLE_COLOR Clr = object->BackColor;
OLE_COLOR Clr = object->GetBackColor();
CHRESULT object->get_BackColor(OLE_COLOR* Clr);

Put

VB.NETobject.BackColor = Clr As UInteger
VBobject.BackColor = Clr As OLE_COLOR
C#.NETuint object.BackColor = Clr;
VC++OLE_COLOR object->BackColor = Clr;
void object->PutBackColor(OLE_COLOR Clr);
CHRESULT object->put_BackColor(OLE_COLOR Clr);

object

A SftBoxCell 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 ...".

Comments

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


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.