Resets the ForeColor property to its default value.
[Visual Basic] Public Sub ResetForeColor() [C#] public void ResetForeColor(); [C++] public: void ResetForeColor(); [JScript] public function ResetForeColor();
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 ShouldPersistForeColor 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