Hi Mesta,
Thanks for your interest in Syncfusion Products.
If
you want to change the background color , you can use BackColor property. You can change the backcolor
for alternate rows by QueryCellInfo
event. Please refer the below code.
Code Snippet[C#] :
this.gridControl1.QueryCellInfo += new Syncfusion.Windows.Forms.Grid.GridQueryCellInfoEventHandler(gridControl1_QueryCellInfo);
void gridControl1_QueryCellInfo(object sender, Syncfusion.Windows.Forms.Grid.GridQueryCellInfoEventArgs e)
{
if
(e.RowIndex % 2 == 0 && e.RowIndex!=0)
e.Style.BackColor = Color.Red;
}
Please let us know if you have any concern.
Regards,
Muthukumar K