Change color of CheckboxColumn if checked
- by user896692
Searched a lot about this problem but never found a answer, that solved it.
I´ve got the following CheckboxColumn in a WPF datagrid:
<DataGridCheckBoxColumn Header="Erledigt" Binding="{Binding Path=erledigt}" />
The variable erledigt contains 0 or 1. Now I want, that if the Checkbox is checked, the cellbackground is green.
Hopelessly searched for a checked property. How can I manage this?