views:

43

answers:

1

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 animation.

+2  A: 

You can use seek method in the storyboard.

myStoryboard.Begin();
myStoryboard.Seek(new TimeSpan(0, 0, 3));

Here is some reference Storyboard.Seek Method

alejandrobog