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

Resets the BackColor property to its default value.

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

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