NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DataGrid.ResetHeaderFont

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();

Remarks

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.

See Also

DataGrid Class | DataGrid Members | System.WinForms Namespace