开发者

wpf how to tell if a storyboard is reversed?

I know i can hook into the State Changed event and others, however what i can not figure out is how to tell if my storyboard is running in reverse. It is set to auto reverse and repeat forever, and that works well. Now I jut need 开发者_如何学JAVAa little help on how to tell which way it is playing. Many thanks.


There is not an easy way to determine that from the Storyboard alone - I would set an either/or value like Visibility on an extra element to determine that:

  • Visibility.Visible when forward
  • Visibility.Collapsed when backwards
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜