Can I use a Conditional format rule to change the background of a whole row in a grid?
(For example, I have a 'grade' column in my grid. If the grade value is less than 60, I want the background color of the whole row to be red).
If not, is there some other way to achieve this?
Hello Hagit,
Thank you for your post. I have been looking into it and I created a sample project for you where I used conditional formatting in both XamGrid and XamDataGrid. Here you can find more information how to do conditional formatting in the grids:
XamDataGrid:
http://mytorrey.com/2011/05/08/conditionally-formatting-cells-in-xamdatagrid-2/
XamGrid:
http://www.infragistics.com/samples/wpf/grid/conditional-formatting-rules
Please let me know if this helps you or you have further questions on this matter.
Looking forward for your reply.