|
|
|
|
ForeColorSelected Property, SftTree Class |
Defines the default foreground color for items in the item area that are selected.
Syntax SftTree Class (Softelvdm.SftTreeNET)
VB |
Public Property ForeColorSelected As Color |
C# |
public Color ForeColorSelected { get; set; } |
C++ |
public: property Color ForeColorSelected { |
Property Value
The default value is Color.HighlightText.
Comments
The ForeColorSelected property 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 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 ForeColor property instead.