Wednesday, April 20, 2011

Chaining VisualStates In Silverlight

I have three VisualStates that each have animation in them and I would like to chain them together. I want one state to begin after the last one has completed. How do I do this in Silverlight without a lot of smelly code?

From stackoverflow
  • Have you tried putting the animations in a single storyboard? Visual states were not designed to do what you are trying to do (start one animation after another has finished) but storyboards were.

  • You can try to use event "Completed" to detect when animation is over and start another animation.

0 comments:

Post a Comment