Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

ForeColorOdd Property, SftTree Class

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

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

Syntax

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

Value

The default value is Color.WindowText.

Comments

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

Columns, items and cells can override the foreground color using the ColumnClass.ForeColor, ItemClass.ForeColor and CellBaseClass.ForeColor properties.

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

See Also SftTree Class | Classes | SftTree/NET 2.0