Resets the HeaderFont property to its default value.
[Visual Basic] Public Sub ResetHeaderFont() [C#] public void ResetHeaderFont(); [C++] public: void ResetHeaderFont(); [JScript] public function ResetHeaderFont();
You typically use this method only if you are either creating a designer for the DataGrid, or creating your own control incorporating the DataGrid.
You can use the ShouldPersistHeaderFont method to determine whether the property value has changed from its default.
DataGrid Class | DataGrid Members | System.WinForms Namespace