Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 89864

ListView Alternating row background colors

$
0
0

Is there a way to indicate to the ListView that every other row is a different color?

        var list = new ListView()
        {
            ItemTemplate = new DataTemplate(typeof(FinancialCell)),
             .....?
        }

I haven't seen an API for it.

In the above FinancialCell (ViewCell), perhaps do we need to do it manually?


Viewing all articles
Browse latest Browse all 89864

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>