Timeline::CurrentGlobalSpeedInvalidated Event
Occurs when the rate at which time progresses for the timeline's clock changes.
Assembly: PresentationCore (in PresentationCore.dll)
The current global speed of a timeline's clock changes in the following circumstances:
The clock changes direction because of its timeline's AutoReverse setting.
The clock accelerates or decelerates because of its timeline's AccelerationRatio or DecelerationRatio property settings.
The clock is paused or resumed.
The clock becomes inactive or reactivates.
The CurrentGlobalSpeed of one of the clock's parent changes.
The CurrentGlobalSpeedInvalidated event is useful for tracking when a timeline's clock becomes paused; in your event handler, use your storyboard's GetCurrentGlobalSpeed method or check the clock's IsPaused property to determine whether its clock is paused; compare this against a previously cached value to determine whether it changed.
The Object parameter of the EventHandler event handler is the timeline's Clock.
Although this event handler appears to be associated with a timeline, it actually registers with the Clock created for this timeline. For more information, see the Timing Events Overview.
Available since 3.0