WPF Animation with datatriggers
问题 I have a rectangle which I am animating the backround colour of. It should change to green each time a particular number goes up. And red when it goes dowm. If the number doesn't change for a while it slowly fades back to its default colour So the animation changes th background from grey to red very quickly and then takes several seconds to fade back to grey. I have added as DataTrigger which is bound to 1 or -1 depending on how the number has changed The problem is that if the number keeps