I want to animate a color change of a button (based on its IsEnabled property) in two ways: 1) when it is changed from enabled to disables -> the color will be changed from white to black. 2) when it is changed from disabled to enabled -> the color will be changed from black to white.
I am trying to use EventTrigger with RoutedEvent, but there is only one event named Button.IsEnabledChanged.
I have a button that its IsEnabled property is changed based on a logic state. The state machine is working, but I want to change the color (using ColorAnimation) of the button when it becomes enabled or disabled.
What is the best way to do so?

Define a style such as the following:
Then assign it to your button(s) like this: