Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
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

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

Put

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

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 08/13/2020 - (email)
© 2024 Softel vdm, Inc.


Spring Break!

Our offices will be closed this week (March 18 through March 22).

We'll be back March 24 to address any pending sales and support issues.