DataGrid.HeaderFont Property

 

Gets or sets the font used for column headers.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public Font HeaderFont { get; set; }

Property Value

Type: System.Drawing.Font

The Font that represents the header text.

You typically use this method only if you are either creating a designer for the System.Windows.Forms.DataGrid, or creating your own control incorporating the System.Windows.Forms.DataGrid.

.NET Framework
Available since 1.1
Return to top
Show: