Share via


Storyboard.SkipToFill Method

Definition

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

public:
 virtual void SkipToFill() = SkipToFill;
void SkipToFill();
public void SkipToFill();
function skipToFill()
Public Sub SkipToFill ()

Remarks

If you call this method on an animation that doesn't have a FillBehavior value of HoldEnd, this has the same effect as calling Stop.

This method is mainly relevant for methods that are playing or paused, and which don't have infinite repeat. Calling SkipToFill on an infinite animation or an animation that's already stopped has no effect.

Applies to

See also