ClockController.Pause Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Stops the target Clock from progressing.

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

public void Pause()

You can pause a Clock regardless of its current state, and pausing a clock does not change its current state. A clock can be paused while Active, Stopped, or Filling. The only way to unpause a clock is by using the Resume method. Pausing a clock implicitly pauses its children.

Calling this method when the target clock is already paused has no effect.

Pausing a clock triggers the CurrentGlobalSpeedInvalidated event.

.NET Framework
Available since 3.0
Return to top
Show: