Storyboard.SkipToFill Method

July 28, 2014

Advances the current time of the storyboard's clock to the end of its active period.

Namespace:  System.Windows.Media.Animation
Assembly:  System.Windows (in System.Windows.dll)

public void SkipToFill()

If AutoReverse is set to true, the end of the active period is the starting frame of the Storyboard.

If RepeatBehavior is set to anything other than Forever, SkipToFill works as expected. If RepeatBehavior is set to Forever, then an InvalidOperation exception is thrown, because a filling state will never be reached.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2014 Microsoft