RadControls for WinForms

RadGridView supports alternating row color mode which allows you to easily distinguish one row from another.

 

In order to enable the feature, you should set the EnableAlternatingRowColor property to true:

Copy[C#] Enable alternating row color
this.radGridView1.EnableAlternatingRowColor = true;
Copy[VB.NET] Enable alternating row color
Me.RadGridView1.EnableAlternatingRowColor = True

 

In order to change the default alternating row color, set the AlternatingRowColor property:

Copy[C#] Changing the alternating row color
((GridTableElement)this.radGridView1.TableElement).AlternatingRowColor = Color.Yellow;
Copy[VB.NET] Changing the alternating row color
CType(Me.RadGridView1.TableElement, GridTableElement).AlternatingRowColor = Color.Yellow

The result is shown on the screenshot below: