System.Windows.Forms.DataGridViewCellStyle.Font Property

Gets or sets the font applied to the textual content of a System.Windows.Forms.DataGridView cell.

Syntax

public System.Drawing.Font Font { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

You can use this property to change the typeface styles applied to the cell text. Because a System.Drawing.Font is immutable (its properties are read-only), you can modify this property only by assigning a new or existing System.Drawing.Font to it; you cannot alter the properties of the returned object directly.

Requirements

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