阅读背景:

WPF动画没有处理“快速”属性更改

来源:互联网 

I am having trouble making an animation work in WPF with DataTriggers when the property binded is changes "fast". The animation is a simple flash of an element. My problem is even after a long time searching on the internet, i can't figure out a way to explain why toggling the property ON and OFF in 2 consecutives lines doesn't work, but if the thread sleeps 1ms it does. I tried inserting other instructions to "waste" some time but it doesn't work either.I am having trouble making an animation work in




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: