System.Windows.Forms.DataGridViewCellStyle.ForeColor Property

Gets or sets the foreground color of a System.Windows.Forms.DataGridView cell.

Syntax

public System.Drawing.Color ForeColor { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The DataGridViewCellStyle.ForeColor property typically should specify a color that contrasts with the DataGridViewCellStyle.BackColor property.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0