Storyboard.SkipToFill Method (FrameworkElement)
Advances the current time of this storyboard's Clock to the end of its active period.
Assembly: PresentationFramework (in PresentationFramework.dll)
This method advances the storyboard's current time to the end of its active period; the storyboard's behavior at this point is specified by its FillBehavior setting. If FillBehavior is set to HoldEnd, the storyboard fills; if the property is set to Stop, the storyboard stops.
Calling this method on a storyboard with an infinite duration, an infinite number of repetitions has no effect. Calling this method on an inactive storyboard has no effect.
To interactively control this storyboard, you must use the same containingObject parameter when calling the interactive methods that you used to begin the storyboard. A controllable storyboard can pause, resume, seek, stop, and be removed. To make a storyboard controllable in code, you must use the appropriate overload of the storyboard's Begin method and specify true to make it controllable. For an example, see How to: Control a Storyboard After It Starts.
Available since 3.0