SkipToFill Method

Storyboard.SkipToFill Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

© 2017 Microsoft