SftTree/OCX 7.0

SftTreeItems.BackColor Property

Softel vdm, Inc.

Defines the default background color used to draw items that are not selected.

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 SftTreeItems object.

Clr

Defines the default background color used to draw items that are not selected.  For information about color properties, please visit the applicable section "Using SftTree/OCX with ...".

Comments

The BackColor property defines the default background color used to draw items that are not selected.

Columns can override the default background color using the Column.BackColor property.  Cells can override the default background color using the Cell.BackColor property.  If a selected item uses a selection style (Items.SelectStyle property) that uses the Items.SelectBackColor property for only portions of the item, the BackColor property is used for the remainder of the item.

See Also  SftTreeItems Object | Object Hierarchy


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