|
|
|
ForeColorSelected Property, CellBaseClass Class |
Defines the foreground color of the cell, if the cell is selected.
Syntax CellBaseClass Class (Softelvdm.Controls)
VB |
Public Property ForeColorSelected As Color |
C# |
public Color ForeColorSelected { get; set; } |
C++ |
public: property Color ForeColorSelected { |
Property Value
The foreground color or Color.Empty.
The default value is Color.Empty.
Comments
The ForeColorSelected property defines the foreground color of the cell, if the cell is selected.
If the foreground color is set to Color.Empty, the containing item determines the foreground color instead.
SftTree/NET 2.0: Depending on the containing item, the following properties are used instead, if the ForeColorSelected property is set to Color.Empty: RowHeaders.ForeColorSelected for row headers, ItemClass.ForeColorSelected, ColumnClass.ForeColorSelected or ForeColorSelected for items, Headers.ForeColorSelected for column headers, Footers.ForeColorSelected for column footers.
SftTabs/NET 6.0: An active tab is considered selected. If the ForeColorSelected property is set to Color.Empty, the tab's ForeColor property is used instead.
If a cell is not considered selected, the ForeColor property is used to define the foreground color instead.
Version Information
Supported in version 1.0.
Products Table