Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

CellSelectBackColor Property, SftTree Object

Defines the background color used to draw an item's cell that is selected.

Deprecated - Provided for compatibility with earlier versions only - Use Cell.SelectBackColor instead

Syntax

Get

VB.NETClr = object.get_CellSelectBackColor(ByVal ItemIndex As Integer, ByVal ColIndex As Short) As System.Drawing.Color
VBClr = object.CellSelectBackColor(ByVal ItemIndex As Long, ByVal ColIndex As Integer) As OLE_COLOR
C#.NETSystem.Drawing.Color Clr = object.get_CellSelectBackColor(int ItemIndex, short ColIndex);
VC++OLE_COLOR Clr = object->CellSelectBackColor[long ItemIndex][short ColIndex];
OLE_COLOR Clr = object->GetCellSelectBackColor(long ItemIndex, short ColIndex);
CHRESULT object->get_CellSelectBackColor(long ItemIndex, short ColIndex, OLE_COLOR* Clr);

Put

VB.NETobject.set_CellSelectBackColor(ByVal ItemIndex As Integer, ByVal ColIndex As Short, ByVal Clr As System.Drawing.Color)
VBobject.CellSelectBackColor(ByVal ItemIndex As Long, ByVal ColIndex As Integer) = Clr As OLE_COLOR
C#.NETvoid object.set_CellSelectBackColor(int ItemIndex, short ColIndex, uint Clr);
VC++OLE_COLOR object->CellSelectBackColor[long ItemIndex][short ColIndex] = Clr;
void object->PutCellSelectBackColor(long ItemIndex, short ColIndex, OLE_COLOR Clr);
CHRESULT object->put_CellSelectBackColor(long ItemIndex, short ColIndex, OLE_COLOR Clr);

object

A SftTree object.

ItemIndex

The zero-based item index. The combination of ItemIndex and ColIndex describes an individual cell.

ColIndex

The zero-based column number. The combination of ItemIndex and ColIndex describes an individual cell.

Clr

Defines the background color used to draw an item's cell that is 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 Cell.SelectBackColor instead

The CellSelectBackColor property defines the background color used to draw an item's cell that is selected.

The cell described by ItemIndex, ColIndex 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.

See Also SftTree Object | Object Hierarchy


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


Spring Break!

Our offices will be closed this week (March 18 through March 22).

We'll be back March 24 to address any pending sales and support issues.