System.Windows.Forms.DataGridViewCellStyle.SelectionForeColor Property

Gets or sets the foreground color used by a System.Windows.Forms.DataGridView cell when it is selected.

Syntax

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

Value

Documentation for this section has not yet been entered.

Remarks

The DataGridViewCellStyle.SelectionForeColor property typically should specify a color that contrasts with the DataGridViewCellStyle.SelectionBackColor 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