Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

BackColor Property, SftTreeHeader Object

Defines the background color for this column header.

Syntax

Get

VB.NETClr = object.BackColor As UInteger
VBClr = object.BackColor As OLE_COLOR
C#.NETuint Clr = object.BackColor;
VC++OLE_COLOR Clr = object->BackColor;
OLE_COLOR Clr = object->GetBackColor();
CHRESULT object->get_BackColor(OLE_COLOR* Clr);

Put

VB.NETobject.BackColor = Clr As UInteger
VBobject.BackColor = Clr As OLE_COLOR
C#.NETuint object.BackColor = Clr;
VC++OLE_COLOR object->BackColor = Clr;
void object->PutBackColor(OLE_COLOR Clr);
CHRESULT object->put_BackColor(OLE_COLOR Clr);

object

A SftTreeHeader object.

Clr

Defines the background color for this column header. -1 indicates that there is no defined color and the default colors are used. For information about color properties, please visit the applicable section "Using SftTree/OCX with ...".

Comments

The BackColor property defines the background color for this column header.

The color defined overrides the default color for column headers defined using Headers.BackColor. This color can also override Windows themes, if the Header.OverrideTheme property is set accordingly.

When updating this property and the specified color Clr is the same value as the color currently defined using Headers.BackColor, the value -1 is saved, indicating that there is no defined color and default colors are used.

The Header.BackColorDisabled property can be used to define the background color for this column header, when it is disabled.

See Also SftTreeHeader Object | Object Hierarchy


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