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.

GridDataControl alternating row issue

Thread ID:





103198 Apr 10,2012 12:19 PM Aug 1,2012 07:02 AM Silverlight 3
Tags: Tools
Michael Day
Asked On April 10, 2012 12:19 PM

I have a GridDataControl defined in my XAML and code behind as shown below and am unable to get the alternating rows to show up. I've tried it in both code behind and in strcitly XAML. Any idea as to what I might be doing wrong?

Code behind in MyInit() which is called from constructor:

dataGrid.RowBackground = new SolidColorBrush( Colors.White );
dataGrid.AlternatingRowBackground = new SolidColorBrush( Colors.LightGray );

Sankara Narayanan N [Syncfusion]
Replied On April 17, 2012 02:33 PM

Hi Michael,

Thanks for using Syncfusion Products.

we have analyzed your query and we have prepared a sample as per your requirement. please find the sample from the attachment.

Please let us know if you have any queries.



Juraj Tomana
Replied On July 12, 2012 08:22 AM


I tried to download sample from Your last update, but the web-server throws exception.


Rajasekar G [Syncfusion]
Replied On August 1, 2012 07:02 AM

Hi Juraj,


Sorry for the inconvenience caused.


Because of some internal server problem, you might have been faced this exception. Now  you can download the sample from following link,


Sample: Column_Element_Style_350b977c.zip


Please let us know if you have any concerns.



Raja sekar.G


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.