Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

ForeColor Property, ColumnClass Class

Defines the column's default foreground color for cells in the item area that are not selected.

Class: ColumnClass
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET

Syntax

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

Value

The default foreground color for cells in this column or Color.Empty.

The default value is Color.Empty.

Comments

Defines the column's default foreground color for cells in the item area that are not selected.

Items and cells can override the foreground color using the ItemClass.ForeColor and CellBaseClass.ForeColor properties.

If Color.Empty is specified, cells use the default color defined using the control's the SftTree.ForeColor property instead, row headers use the RowHeadersClass.ForeColor property, column headers use the HeadersClass.ForeColor property and column footers use the FootersClass.ForeColor property.

Selected cells may use the colors defined using the ColumnClass.ForeColorSelected property instead.

See Also ColumnClass Class | Classes | SftTree/NET 2.0