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



Spring Break!

Our offices will be closed this week (March 18 through March 22).

We'll be back March 24 to address any pending sales and support issues.