Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1285
Get theme default row colors
posted

I use a converter to conditionally change DataRecordPresenter Background color works well, at first. Here's my problem. The converter checks a boolean property of the class, if true change color to red else do nothing (Binding.DoNothing). At first everything seems right but if I scroll or sort every record is now red.

My app allows the user to change theme and grid uses alternate row colors. So my questions is how do I get current theme colors and how would I know in the converter which color to apply (alternate color or non-alternate) for the false state to revert it back to normal?

 

Thanks a bunch

Parents
No Data
Reply Children
No Data