Hi Lyndon,
The RadListView doesn't have an alternate row style property (like a DataGrid does), see the
RadListView Styling article for available item styling options.
However, you can still accomplish this by taking one of two commonly used approaches:
- Use the RadListView ItemTemplateSelector
- ValueConverter for BackgroundColor
Since you have an ID property to determine if the data item is even/odd, you can use this value to return the appropriate DataTemplate or Color.
Examples
TemplateSelector
ValueConverter
Regards,
Lance | Tech Support Engineer, Sr.
Progress Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items