Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

ForeColorSelected Property, ColumnClass Class

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

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

Syntax

public Color ForeColorSelected { get; set; }
Public Property ForeColorSelected 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 selected.

Items and cells can override the foreground color using the ItemClass.ForeColorSelected, RowHeadersClass.BackColorSelected and CellBaseClass.ForeColorSelected properties.

If Color.Empty is specified, cells use the default color defined using the control's the SftTree.ForeColorSelected property instead, row headers use the RowHeadersClass.BackColorSelected property.

Cells that are not selected use the colors defined using the ColumnClass.ForeColor property instead.

See Also ColumnClass Class | Classes | SftTree/NET 2.0