Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

SelectBackColor Property, SftTreeRowHeader Object

Defines the row header's background color when the item is selected.

Syntax

Get

VB.NETClr = object.SelectBackColor As UInteger
VBClr = object.SelectBackColor As OLE_COLOR
C#.NETuint Clr = object.SelectBackColor;
VC++OLE_COLOR Clr = object->SelectBackColor;
OLE_COLOR Clr = object->GetSelectBackColor();
CHRESULT object->get_SelectBackColor(OLE_COLOR* Clr);

Put

VB.NETobject.SelectBackColor = Clr As UInteger
VBobject.SelectBackColor = Clr As OLE_COLOR
C#.NETuint object.SelectBackColor = Clr;
VC++OLE_COLOR object->SelectBackColor = Clr;
void object->PutSelectBackColor(OLE_COLOR Clr);
CHRESULT object->put_SelectBackColor(OLE_COLOR Clr);

object

A SftTreeRowHeader object.

Clr

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

Comments

The SelectBackColor property defines the row header's background color when the item is selected.

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

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

This property has no effect if Windows themes are used. 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.