HeaderPane
Main
Hide
Share Link
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

C#System.Drawing.Color Clr = object.BackColor;
VB.NETClr = object.BackColor As System.Drawing.Color
C++OLE_COLOR Clr = object->BackColor;
OLE_COLOR Clr = object->GetBackColor();
CHRESULT object->get_BackColor(OLE_COLOR* Clr);
VBClr = object.BackColor As OLE_COLOR

Put

C#System.Drawing.Color object.BackColor = Clr;
VB.NETobject.BackColor = Clr As System.Drawing.Color
C++OLE_COLOR object->BackColor = Clr;
void object->PutBackColor(OLE_COLOR Clr);
CHRESULT object->put_BackColor(OLE_COLOR Clr);
VBobject.BackColor = Clr As OLE_COLOR

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 11/03/2026 - (email)
© 2026 Softel vdm, Inc.