如题,这个动画中有3个DoubleAnimation,如何在另外的方法中得知Storyboard动画已经结束?
补充:我在Storyboard的Completed事件下还是不能很好的实现,有个延时。
我想 Storyboard.GetCurrentState 这个Method也许可以帮助你
Retrieves the CurrentState of the Clock that was created for this Storyboard.
Type: System.Windows.Media.Animation.ClockState The current state of the clock created for this storyboard: Active, Filling, or Stopped.
可以参考这个链接
http://msdn.microsoft.com/en-us/library/cc672521.aspx
你好,
你是指在Storyboard的complete事件中,调用其他的方法有延迟么
我可以看看你动画的代码吗?因为只有当所有的子动画都结束了Storyboard的完成事件才会被触发
如果它本身是一个子Storyboard的话,只有当它的父Storyboard结束以后它才认为自己也结束了。