|
|
|
ForeColor Property, CellBaseClass Class |
Defines the foreground color of the cell.
Syntax CellBaseClass Class (Softelvdm.Controls)
VB |
Public Property ForeColor As Color |
C# |
public Color ForeColor { get; set; } |
C++ |
public: property Color ForeColor { |
Property Value
The foreground color or Color.Empty.
The default value is Color.Empty.
Comments
The ForeColor property defines the foreground color of the cell.
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 ForeColor property is set to Color.Empty: RowHeaders.ForeColor for row headers, ItemClass.ForeColor, ColumnClass.ForeColor, ForeColorOdd or ForeColor for items, Headers.ForeColor for column headers, Footers.ForeColor for column footers.
SftTabs/NET 6.0: If the ForeColor property is set to Color.Empty, the control's ForeColor property is used instead.
If a cell is considered selected, the ForeColorSelected property is used to define the foreground color instead.
Version Information
Supported in version 1.0.
Products Table