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();
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.
DataGridColumn Class | DataGridColumn Members | System.WinForms Namespace