I have some data. I want to go through that data and change cells (for example – Background color), if that data meets a certain condition. Somehow, I’ve not been able to figure it out how to do this seemingly easy thing in Silverlight.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This is slightly old code (from before RTM), but does something like what you’re looking for. It checks some data on an object in a row and then sets the colour of the row accordingly.
XAML:
Code: