Storyboard.SkipToFill Method

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 Silverlight throws an InvalidOperation exception, similar to WPF, because a filling state will never be reached.


Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.