Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

BackColorOdd Property, SftTree Class

Defines the default background color for items in the item area (odd numbered items).

Class: SftTree
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET

Syntax

public Color BackColorOdd { get; set; }
Public Property BackColorOdd As Color

Value

The default value is Color.Empty.

Comments

Defines the default background color for items in the item area (odd numbered items).

Columns, items and cells can override the background color using the ColumnClass.BackColor, ItemClass.BackColor and CellBaseClass.BackColor properties.

The SftTree.BackColor property also defines the default background color for items in the item area. SftTree.BackColor and BackColorOdd are used alternating between items, so every even numbered item in the display area uses SftTree.BackColor, every odd numbered item uses BackColorOdd. The first displayed item is considered item 0.

See Also SftTree Class | Classes | SftTree/NET 2.0