AlternatingRowStyle

I am unable to get the AlternatingRowStyle to work. Adding the style to App.xaml or my page.xaml does not work and I keep getting errors in InitializeComponent() calls.

Can you show a working version of the  AlternatingRowStyle?

I have created the class SelectorClass : StyleSelector however I can't seem to get a working version.


1 Reply

VS Vijayarasan Sivanandham Syncfusion Team April 24, 2023 02:06 PM UTC

Hi Ray,

We have prepared the sample to meet your requirement. Please find the sample in the attachment.

Regards,

Vijayarasan S


If this post is helpful, please consider Accepting it as the solution so that other members can locate it more quickly.


Attachment: SfDataGridDemo_828d5317.zip

Loader.
Up arrow icon