HeaderPane
Main
Hide
Share Link
Print

ColumnBackColor Property, SftTree Object

Defines the background color of cells in the specified column.

Deprecated - Provided for compatibility with earlier versions only - Use Column.BackColor instead

Syntax

Get

C#System.Drawing.Color Clr = object.get_ColumnBackColor(short ColIndex);
VB.NETClr = object.get_ColumnBackColor(ByVal ColIndex As Short) As System.Drawing.Color
C++OLE_COLOR Clr = object->ColumnBackColor[short ColIndex];
OLE_COLOR Clr = object->GetColumnBackColor(short ColIndex);
CHRESULT object->get_ColumnBackColor(short ColIndex, OLE_COLOR* Clr);
VBClr = object.ColumnBackColor(ByVal ColIndex As Integer) As OLE_COLOR

Put

C#void object.set_ColumnBackColor(short ColIndex, uint Clr);
VB.NETobject.set_ColumnBackColor(ByVal ColIndex As Short, ByVal Clr As UInteger)
C++OLE_COLOR object->ColumnBackColor[short ColIndex] = Clr;
void object->PutColumnBackColor(short ColIndex, OLE_COLOR Clr);
CHRESULT object->put_ColumnBackColor(short ColIndex, OLE_COLOR Clr);
VBobject.ColumnBackColor(ByVal ColIndex As Integer) = Clr As OLE_COLOR

object

A SftTree object.

ColIndex

The zero-based column number.

Clr

Defines the background color of cells in the specified column. The valid range for a color value is 0 to 16,777,215 (&HFFFFFF). The high order byte of a number in this range equals 0; the lower 3 bytes, from least to most significant byte, determine the amount of red, green, and blue, respectively. The red, green, and blue components are each represented by a number between 0 and 255 (&HFF). If the high byte is not 0, the system colors as defined in Control Panel's settings are used. See your development environment's documentation for color constants.

Comments

Deprecated - Provided for compatibility with earlier versions only - Use Column.BackColor instead

The ColumnBackColor property defines the background color of cells in the specified column ColIndex of items that are not selected.

Cells can override the background color using the Cell.BackColor property. If a selected item uses a selection style (Items.SelectStyle property) that uses the Column.SelectBackColor property for only portions of the item, the Column.BackColor property is used for the remainder of the item.

See Also SftTree Object | Object Hierarchy


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