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.ResetHeader

Resets the Header to its default value (a null reference (in Visual Basic Nothing)).

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

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 ShouldPersistHeader 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