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

GridDataControl alternating row issue

Thread ID:





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

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 06:33 PM UTC

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 12:22 PM UTC


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


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

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.

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