I have WPF DataGrid. I need custom style for some rows(e.g for rows where 4th cell has negative value). How can I set condition for applying custom style? Is this possible?
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.
Have you tried a rowstyle with a DataTrigger? You will need a Converter to for checking negativ values.