SftDirectory 2.5

SftDirectory.BackColor Property

Softel vdm, Inc.

Defines the background color.

Syntax       

Get

VB.NET

Clr = object.BackColor  As System.Drawing.ColorLanguage-specific information
Clr = object.CtlBackColor  As System.Drawing.ColorLanguage-specific information

VB

Clr = object.BackColor  As OLE_COLOR

C#.NET

System.Drawing.ColorLanguage-specific information Clr = object.BackColor;
System.Drawing.ColorLanguage-specific information Clr = object.CtlBackColor;

VC++

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

C

HRESULT object->get_BackColor(OLE_COLOR* Clr);

Delphi

Clr := object.BackColor  : TColorLanguage-specific information;

Put

VB.NET

object.BackColor = Clr  As System.Drawing.ColorLanguage-specific information
object.CtlBackColor = Clr  As System.Drawing.ColorLanguage-specific information

VB

object.BackColor = Clr  As OLE_COLOR

C#.NET

System.Drawing.ColorLanguage-specific information object.BackColor = Clr;
System.Drawing.ColorLanguage-specific information object.CtlBackColor = 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  : TColorLanguage-specific information;

object

A SftDirectory object.

Clr

Defines the background color.

Comments

The BackColor property defines the background color.

The background color is used throughout the control for all folders.  Columns can override the background color using the Column.BackColor property.  Individual folders can override the background color using the Folder.BackColor property.

The ActiveColumnBackColor property defines the background color of the active column and overrides the BackColor property. 

The BackColor property does not affect the column headers (see Headers.BackColor instead).


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