HeaderPane
Main
Hide

SftTree/OCX 8.0 - ActiveX Tree Control

Share Link
Print

BackColorOdd Property, SftTreeItems Object

Defines the background color used to draw items in odd rows.

Syntax

Get

VB.NETClr = object.BackColorOdd As UInteger
VBClr = object.BackColorOdd As OLE_COLOR
C#.NETuint Clr = object.BackColorOdd;
VC++OLE_COLOR Clr = object->BackColorOdd;
OLE_COLOR Clr = object->GetBackColorOdd();
CHRESULT object->get_BackColorOdd(OLE_COLOR* Clr);

Put

VB.NETobject.BackColorOdd = Clr As UInteger
VBobject.BackColorOdd = Clr As OLE_COLOR
C#.NETuint object.BackColorOdd = Clr;
VC++OLE_COLOR object->BackColorOdd = Clr;
void object->PutBackColorOdd(OLE_COLOR Clr);
CHRESULT object->put_BackColorOdd(OLE_COLOR Clr);

object

A SftTreeItems object.

Clr

Defines the background color used to draw items in odd rows. For information about color properties, please visit the applicable section "Using SftTree/OCX with ...".

Comments

The BackColorOdd property defines the background color used to draw items in odd rows.

Columns can override the background color using the Column.BackColor property. 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 Items.SelectBackColor property for only portions of the item, the BackColorOdd property is used for the remainder of the item.

Examples

VB6

         ShadowColor     =   -2147483632
         Reorderable     =   1
         Resizable       =   1
      EndProperty
      BeginProperty Items {9EBAA93C-293D-44FA-9989-08F078763A1F} 
         AutoExpandDragDrop=   1
         AutoExpandHover =   0
         BackColor       =   -2147483643
         BackColorOdd    =   -2147483643
         CalcLimit       =   0
         CalcVisibleOnly =   0
         Cell3D          =   0
         CharSearchColumn=   -1
         CharSearchMode  =   1
         DropHighlightColor=   -2147483635
         DropHighlightStyle=   1

See Also SftTreeItems Object | Object Hierarchy


Last Updated 05/24/2026 - (email)
© 2026 Softel vdm, Inc.