We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Change alternating rows color in MulticolumnComboBox

Thread ID:





116889 Jun 25,2014 11:01 AM Jul 1,2014 01:29 AM Windows Forms 3
Tags: GridControl
I Mesta
Asked On June 25, 2014 11:01 AM

I Syncfusion
How I can change the back color in the rows?  
I mean exist the posibility of change the color in alternating rows property like in DataGridView AlternatingRowsDefaultCellStyle property
I wanna change the color.

Neelakandan Kannan [Syncfusion]
Replied On June 26, 2014 01:38 AM

Hi Mesta,

Thank you for your interest in Syncfusion products.

If you want to change the alternate rows back color, you can use the QueryCellInfo event.

Please refer the below code:

this.gridControl1.QueryCellInfo += new GridQueryCellInfoEventHandler(gridControl1_QueryCellInfo);

void gridControl1_QueryCellInfo(object sender, GridQueryCellInfoEventArgs e)


If( e.RowIndex > 0 &&  e.RowIndex % 2 == 0)


e.Style.BackColor = Color.DeepPink;



Please let me know if you have any concerns.



I Mesta
Replied On June 27, 2014 10:45 AM

Hi Syncfusion

I did it, I used this code. Thank you so much. 

Neelakandan Kannan [Syncfusion]
Replied On July 1, 2014 01:29 AM

Hi Mesta, 

Thank you for your update. 

Please let us know if you have further assistance on this. 




This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.