Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

BackColor Property, SftTree Object

Defines the default background color used to draw items that are not selected.

Deprecated - Provided for compatibility with earlier versions only - Use Items.BackColor instead

Syntax

Get

VB.NETClr = object.BackColor As System.Drawing.Color
VBClr = object.BackColor As OLE_COLOR
C#.NETSystem.Drawing.Color 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 System.Drawing.Color
VBobject.BackColor = Clr As OLE_COLOR
C#.NETSystem.Drawing.Color object.BackColor = Clr;
VC++OLE_COLOR object->BackColor = Clr;
void object->PutBackColor(OLE_COLOR Clr);
CHRESULT object->put_BackColor(OLE_COLOR Clr);

object

A SftTree object.

Clr

Defines the default background color used to draw items that are not selected. For information about color properties, please visit the applicable section "Using SftTree/OCX with ...".

Comments

Deprecated - Provided for compatibility with earlier versions only - Use Items.BackColor instead

The BackColor property defines the default background color used to draw items that are not selected.

Columns can override the default background color using the Column.BackColor property. Cells can override the default background color using the Cell.BackColor property. If a selected item uses a selection style (Items.SelectStyle property) that uses the Items.SelectBackColor property for only portions of the item, the BackColor property is used for the remainder of the item.

See Also SftTree Object | Object Hierarchy


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