Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

BackColor Property, SftTreeColumn Object

Defines the background color of cells in this column.

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 SftTreeColumn object.

Clr

Defines the background color of cells in this column. -1 indicates that there is no defined color and the default colors are used. For information about color properties, please visit the applicable section "Using SftTree/OCX with ...".

Comments

The BackColor property defines the background color of cells in this column.

The BackColor property defines the background color of cells in this column for items that are not selected. Cells can override the background color using the Cell.BackColor property. If a selected item uses a selection style (Items.SelectStyle property) that uses the Column.SelectBackColor property for only portions of the item, the BackColor property is used for the remainder of the item.

The BackColor property can be used to define the default background color of cells in this column, combined with BackColorEnd creating a gradient fill.

See Also SftTreeColumn Object | Object Hierarchy


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