SftTree/OCX 7.5 - ActiveX Tree Control


SelectBackColor Property, SftTreeCell Object

Defines the cell's background color when the item is selected.



VB.NETClr = object.SelectBackColor As UInteger
VBClr = object.SelectBackColor As OLE_COLOR
C#.NETuint Clr = object.SelectBackColor;
VC++OLE_COLOR Clr = object->SelectBackColor;
OLE_COLOR Clr = object->GetSelectBackColor();
CHRESULT object->get_SelectBackColor(OLE_COLOR* Clr);


VB.NETobject.SelectBackColor = Clr As UInteger
VBobject.SelectBackColor = Clr As OLE_COLOR
C#.NETuint object.SelectBackColor = Clr;
VC++OLE_COLOR object->SelectBackColor = Clr;
void object->PutSelectBackColor(OLE_COLOR Clr);
CHRESULT object->put_SelectBackColor(OLE_COLOR Clr);


A SftTreeCell object.


Defines the cell's background color when the item is selected. -1 indicates that there is no defined color and the default color defined using Column.SelectBackColor is used. For information about color properties, please visit the applicable section "Using SftTree/OCX with ...".


The SelectBackColor property defines the cell's background color when the item is selected.

The cell has the background color attribute Clr. This color is used as background color when the item is selected. If the item is not selected and uses a suitable selection style (Items.SelectStyle), the Cell.BackColor property is used instead.

The Cell.SelectBackColorEnd property can be used to define the cell's background color, combined with SelectBackColor creating a gradient fill. The orientation of the gradient fill can be defined using the Cell.BackColorOrientation property.

See Also SftTreeCell Object | Object Hierarchy

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