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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Change alternating rows color in MulticolumnComboBox

Thread ID:





116889 Jun 25,2014 03:01 PM UTC Jul 1,2014 05:29 AM UTC WinForms 3
Tags: GridControl
I Mesta
Asked On June 25, 2014 03:01 PM UTC

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 05:38 AM UTC

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 02:45 PM UTC

Hi Syncfusion

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

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

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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon