Pause Method

Storyboard.Pause Method

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

Pauses the animation clock associated with the storyboard.

Namespace:  System.Windows.Media.Animation
Assembly:  System.Windows (in System.Windows.dll)

public void Pause()

This method stops the animation clock from moving, but it has no discernible effect if the animation is not active or is currently paused. As a side effect, all associated children are also paused.

NoteNote:

Do not attempt to call Storyboard members (for example, Pause) within the constructor of the page. This will cause the animation to fail silently.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2018 Microsoft