HeaderPane
Main
Hide
Share Link
Print

InheritBgColor Property, SftTree Object

Defines whether the area left of the first cell inherits the cell's background color.

Deprecated - Provided for compatibility with earlier versions only - Use ColumnsObj.InheritBgColor instead

Syntax

Get

C#bool Boolean = object.InheritBgColor;
VB.NETBoolean = object.InheritBgColor As Boolean
C++VARIANT_BOOL Boolean = object->InheritBgColor;
VARIANT_BOOL Boolean = object->GetInheritBgColor();
CHRESULT object->get_InheritBgColor(VARIANT_BOOL* Boolean);
VBBoolean = object.InheritBgColor As Boolean

Put

C#bool object.InheritBgColor = Boolean;
VB.NETobject.InheritBgColor = Boolean As Boolean
C++VARIANT_BOOL object->InheritBgColor = Boolean;
void object->PutInheritBgColor(VARIANT_BOOL Boolean);
CHRESULT object->put_InheritBgColor(VARIANT_BOOL Boolean);
VBobject.InheritBgColor = Boolean As Boolean

object

A SftTree object.

Boolean

Defines whether the area left of the first cell inherits the cell's background color.

BooleanDescription
TrueThe area left of the first column inherits the cell's background color. The column or cell specific colors of the first displayed column are used. The properties used are Column.BackColor, Cell.BackColor, Column.SelectBackColor and Cell.SelectBackColor.
FalseThe area left of the first column does not inherit the cell's background color. The colors defined using the properties Items.BackColor (Items.BackColorOdd) and Items.SelectBackColor are used.

Comments

Deprecated - Provided for compatibility with earlier versions only - Use ColumnsObj.InheritBgColor instead

The InheritBgColor property defines whether the area left of the first cell inherits the cell's background color.

See Also SftTree Object | Object Hierarchy


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