How to programmatically(C#) go to a certain keyframe in a silverlight animation?
Is there a way of going to a certain keyframe inside of a silverlight animation? For example the user clicks a button and it goes to the specified keyframe in the an开发者_如何学Goimation.
You can use seek method in the storyboard.
myStoryboard.Begin();
myStoryboard.Seek(new TimeSpan(0, 0, 3));
Here is some reference Storyboard.Seek Method
精彩评论