Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

ForeColorSelected Property, SftTree Class

Defines the default foreground color for items in the item area that are selected.

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

Syntax

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

Value

The default value is Color.HighlightText.

Comments

Defines the default foreground color for items in the item area that are selected.

This property applies only if the tree control has the input focus. Otherwise, if it doesn't have the input focus, the SftTree.ForeColorSelectedNoFocus property is used.

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

Items that are not selected may use the colors defined using the SftTree.ForeColor property instead.

See Also SftTree Class | Classes | SftTree/NET 2.0