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
0
Atanas
Telerik team
answered on 16 Sep 2008, 09:44 AM
Hello Rene,
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.
Regards,
Atanas
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.