I have a check box in my WPF application. The checkbox made by my own control template. Where I use bullet decoration to apply the check mark and the grid.


I add an IsPressed effect on checkbox when the checkbox click the grid is appear with proper check mark. I successfully add an IsPressed effect on it that means when the checkbox pressed the colour is change.
But my problem is it’s only working at the time of checking the checkbox from blank to check but when I uncheck it, it does not change the colour.
Is there anything where I apply the reverse effect on checkbox when it is blank?
Need to see your xaml and code to answer that question.
C# devs
null reference exceptions

source