Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

BackColor Property, SftTreeRowHeader Object

Defines the row header's background color.

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

Clr

Defines the row header's background color. For information about color properties, please visit the applicable section "Using SftTree/OCX with ...".

Comments

The BackColor property defines the row header's background color.

The row header has the background color attribute Clr. This color is used as background color when the item is not selected. If the item is selected, the RowHeader.SelectBackColor property is used instead.

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

This property may have no effect when Windows themes are used. Certain semi-transparent themes use this color for portions of the background. The RowHeader.OverrideTheme property can be used to override Windows themes so defined colors are used instead.

See Also SftTreeRowHeader Object | Object Hierarchy


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