|
|
|
|
ForeColor Property, SftTree Class |
Defines the default foreground color for items in the item area.
Syntax SftTree Class (Softelvdm.SftTreeNET)
VB |
Public Overridable Property ForeColor As Color |
C# |
public virtual Color ForeColor { get; set; } |
C++ |
public: property virtual Color ForeColor { |
Property Value
The default value is Color.WindowText.
Comments
The ForeColor property 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 ForeColorOdd property also defines the default foreground color for items in the item area. ForeColor and ForeColorOdd are used alternating between items, so every even numbered item in the display area uses ForeColor, every odd numbered item uses ForeColorOdd. The first displayed item is considered item 0.
Selected items may use the colors defined using the ForeColorSelected property instead.