I have a set of buttons in a side panel. I want to change the background of the button that has been clicked. I have tried to do that using style.trigger and th
This kind of trigger runs when your condition is fulfilled and then the effect disappears. In order to set for good instead of a while take a look at this
Since IsPressed is not a RoutedEvent you can use this