HeaderPane
Main
Hide
Share Link
Print

BackColorDisabled Property, SftTreeHeader Object

Defines the background color for this column header, when it is disabled.

Syntax

Get

C#uint Clr = object.BackColorDisabled;
VB.NETClr = object.BackColorDisabled As UInteger
C++OLE_COLOR Clr = object->BackColorDisabled;
OLE_COLOR Clr = object->GetBackColorDisabled();
CHRESULT object->get_BackColorDisabled(OLE_COLOR* Clr);
VBClr = object.BackColorDisabled As OLE_COLOR

Put

C#uint object.BackColorDisabled = Clr;
VB.NETobject.BackColorDisabled = Clr As UInteger
C++OLE_COLOR object->BackColorDisabled = Clr;
void object->PutBackColorDisabled(OLE_COLOR Clr);
CHRESULT object->put_BackColorDisabled(OLE_COLOR Clr);
VBobject.BackColorDisabled = Clr As OLE_COLOR

object

A SftTreeHeader object.

Clr

Defines the background color for this column header, when it is disabled. -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 BackColorDisabled property defines the background color for this column header, when it is disabled.

If the column header is disabled, the color defined using the BackColorDisabled property overrides the default color for this column header defined using Header.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 Header.BackColor, the value -1 is saved, indicating that there is no defined color and default colors are used.

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

See Also SftTreeHeader Object | Object Hierarchy


Last Updated 11/03/2026 - (email)
© 2026 Softel vdm, Inc.