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. Image for the cookie policy date
close icon

GridDataControl alternating row issue

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 );




3 Replies

SN Sankara Narayanan N Syncfusion Team 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.

Thanks,
Sankar



Column_Element_Style_350b977c.zip


JT Juraj Tomana July 12, 2012 12:22 PM UTC

Hi,

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

Regards,
Juraj


RG Rajasekar G Syncfusion Team 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.

 

Regards,

Raja sekar.G


Loader.
Live Chat Icon For mobile
Up arrow icon