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.
Assembly: System.Windows (in System.Windows.dll)
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.