I am trying to add alternate row colors for odd and even rows for devexpress xaml grid in windows 8 Metro App. How can I accomplish this? I am googling a lot but in most of my samples I am getting namespace reference mismatched. I am using Devexpress v12.2.
Share
You can modify the
GridControl.ItemTemplate(row template). This approach is demonstrated in Conditional Formatting demo module (DevExpress v12.2 feature demos):The ‘RowHandleToBackgroundConverter’ class is implemented as follows: