SftTree/OCX 7.0

SftTree.ColumnSelectBackColor Property

Softel vdm, Inc.

Defines the background color of selected items in the specified column.

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

Syntax       

Get

VB.NET

Clr = object.get_ColumnSelectBackColor(ByVal ColIndex As Short)  As System.Drawing.ColorLanguage-specific information

VB

Clr = object.ColumnSelectBackColor(ByVal ColIndex As Integer)  As OLE_COLOR

C#.NET

System.Drawing.ColorLanguage-specific information Clr = object.get_ColumnSelectBackColor(short ColIndex);

VC++

OLE_COLOR Clr = object->ColumnSelectBackColor[short ColIndex];
OLE_COLOR Clr = object->GetColumnSelectBackColor(short ColIndex);

C

HRESULT object->get_ColumnSelectBackColor(short ColIndex, OLE_COLOR* Clr);

Delphi

Clr := object.ColumnSelectBackColor[ColIndex : Smallint]  : TColor;

Put

VB.NET

object.set_ColumnSelectBackColor(ByVal ColIndex As Short, ByVal Clr As System.Drawing.ColorLanguage-specific information)

VB

object.ColumnSelectBackColor(ByVal ColIndex As Integer) = Clr  As OLE_COLOR

C#.NET

void object.set_ColumnSelectBackColor(short ColIndex, uintLanguage-specific information Clr);

VC++

OLE_COLOR object->ColumnSelectBackColor[short ColIndex] = Clr;
void object->PutColumnSelectBackColor(short ColIndex, OLE_COLOR Clr);

C

HRESULT object->put_ColumnSelectBackColor(short ColIndex, OLE_COLOR Clr);

Delphi

object.ColumnSelectBackColor[ColIndex : Smallint] := Clr  : TColor;

object

A SftTree object.

ColIndex

The zero-based column number.

Clr

Defines the background color of selected items in the specified column.  For information about color properties, please visit the applicable section "Using SftTree/OCX with ...".

Comments

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

The ColumnSelectBackColor property defines the background color of selected items in the specified column ColIndex of items that are selected.

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. 

See Also  SftTree Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com