Defines the default foreground color for items in the item area.
Class: SftTree
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET
public virtual Color ForeColor { get; set; }
Public Overridable Property ForeColor As Color
The default value is Color.WindowText.
Defines the default foreground color for items in the item area.
Columns, items and cells can override the foreground color using the ColumnClass.ForeColor, ItemClass.ForeColor and CellBaseClass.ForeColor properties.
The SftTree.ForeColorOdd property also defines the default foreground color for items in the item area. ForeColor and SftTree.ForeColorOdd are used alternating between items, so every even numbered item in the display area uses ForeColor, every odd numbered item uses SftTree.ForeColorOdd. The first displayed item is considered item 0.
Selected items may use the colors defined using the SftTree.ForeColorSelected property instead.
See Also SftTree Class | Classes | SftTree/NET 2.0