System.Windows.Forms.DataGridTableStyle.ResetAlternatingBackColor Method

Resets the DataGridTableStyle.AlternatingBackColor property to its default value.

Syntax

public void ResetAlternatingBackColor ()

Remarks

You typically use this method if you are either creating a designer for the System.Windows.Forms.DataGridTableStyle or creating your own control incorporating the System.Windows.Forms.DataGridTableStyle. You can use the DataGridTableStyle.ShouldSerializeAlternatingBackColor method to determine whether the property value has changed from its default.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0