Indicates whether the AlternatingBackColor property should be persisted.
[Visual Basic] Public Function ShouldPersistAlternatingBackColor() As Boolean [C#] public bool ShouldPersistAlternatingBackColor(); [C++] public: bool ShouldPersistAlternatingBackColor(); [JScript] public function ShouldPersistAlternatingBackColor() : Boolean;
true if the property value has been changed from its default; otherwise, false.
You typically use this method only if you are either creating a designer for the DataGrid, or creating your own control incorporating the DataGrid.
You can use the ShouldPersistAlternatingBackColor method to determine whether the property value has changed from its default.
DataGridColumn Class | DataGridColumn Members | System.WinForms Namespace