SftTree/OCX 7.0

SftTreeCell.BackColor Property

Softel vdm, Inc.

Defines the cell's background color.

Syntax       

 

Get

VB.NET

Clr = object.BackColor  As UIntegerLanguage-specific information

VB

Clr = object.BackColor  As OLE_COLOR

C#.NET

uintLanguage-specific information Clr = object.BackColor;

VC++

OLE_COLOR Clr = object->BackColor;
OLE_COLOR Clr = object->GetBackColor();

C

HRESULT object->get_BackColor(OLE_COLOR* Clr);

Delphi

Clr := object.BackColor  : Cardinal;

Put

VB.NET

object.BackColor = Clr  As UIntegerLanguage-specific information

VB

object.BackColor = Clr  As OLE_COLOR

C#.NET

uintLanguage-specific information object.BackColor = Clr;

VC++

OLE_COLOR object->BackColor = Clr;
void object->PutBackColor(OLE_COLOR Clr);

C

HRESULT object->put_BackColor(OLE_COLOR Clr);

Delphi

object.BackColor := Clr  : Cardinal;

object

A SftTreeCell object.

Clr

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

Comments

The BackColor property defines the cell's background color. 

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

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

See Also  SftTreeCell Object | Object Hierarchy


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