Is there any way I can display the text in a particular cell with Bold text based on the value of another cell in the same row ? I.e I have a IsDefault cell and if this is set tro 1 I would like another cell to be displayed with different formatting.
Many Thanks
Niclas
Hello,
Can you please give us more information on what you are trying to achieve? Which example are you referring to?
Hi Alex
I have just read a post of yours on conditional formatting and downloaded and explored your test project.
I was wondering how you would recommend doing the same but changing a unbound field image source depending on a bound value as was done in your example?
This makes more sense, got it working now
Many thanks for your help
Niclas,
I am sorry, I have missed out one line in the last code snippet. The trigger is not added in the Style's Triggers collection.
I am attaching a sample project with this working. Please download it and change the references to the Express version (as you are using it) and it should be working as expected.
Regards.
Alex,
I really appreciate your help, but still a bit new to WPF and have not managed to tie this all together. Any chance you could expand your sample slightly. The IsDefault column is hidden then there is a "CarName" column which is the one I would like the cell text in Bold if IsDefault =1. Also, I am using the Express edition if that makes any difference.
Thanks again