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!

DataGridColumn.ResetFont

Resets the Font property to its default value.

[Visual Basic]
Public Sub ResetFont()
[C#]
public void ResetFont();
[C++]
public: void ResetFont();
[JScript]
public function ResetFont();

Remarks

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

You can use the ShouldPersistFont method to determine whether the property value has changed from its default.

The OnPropertyChanged event occurs when the property value changes.

See Also

DataGridColumn Class | DataGridColumn Members | System.WinForms Namespace