HeaderPane
Main
Hide
Share Link
Print

BackColor Property, SftBoxDropDown Object

Defines the drop down button's background color.

Syntax

Get

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

Put

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

object

A SftBoxDropDown 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.

Comments

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


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