I need help in the Storyboard Seek. The following code is not working:
Storyboard StoryBoard;
public void Reverse()
{
StoryBoard.Pause(this);
TimeSpan ts = new TimeSpan(0);
ts.Subtract(TimeSpan.FromMilliseconds(1000));
StoryBoard.Seek(this, ts, TimeSeekOrigin.BeginTime);
}
public void Forward()
{
StoryBoard.Pause(this);
TimeSpan ts = new TimeSpan(0);
ts.Add(TimeSpan.FromMilliseconds(1000));
StoryBoard.Seek(this, ts, TimeSeekOrigin.BeginTime);
}
Thanks In Advance.