How can i change the backgroundcolor and foregroundcolor of a row in C#?
For example i have a grid with two columns Personname and Country
all rows with country xxx should be red and the foregroundcolor should be blue
1 Answer, 1 is accepted
answered on 16 Sep 2008, 09:44 AM
We have an example in the desktop version of our Quick-Start Framework has that demonstrates a similar functionality. In the Conditional Row Formatting example we use a XAML based binding and a Value Converter to change the background property of our rows depending on a predefined criteria.
Please, check it out and don't hesitate to contact us if you have further questions.
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.