Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

SelectBackColor Property, SftTreeColumn Object

Defines the background color of selected items in this column.

Syntax

Get

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);

Put

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);

object

A SftTreeColumn object.

Clr

Defines the background color of selected items 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 SelectBackColor property defines the background color of selected items in this column.

Cells can override the background color using the Cell.SelectBackColor 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 Column.BackColor property is used for the remainder of the item.

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

See Also SftTreeColumn Object | Object Hierarchy


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