ClockController::Pause Method ()

 

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: