.NET Framework (current version)
Occurs when the rate at which time progresses for the timeline's clock changes.
PresentationCore (in PresentationCore.dll)
member CurrentGlobalSpeedInvalidated : IEvent<EventHandler,
The current global speed of a timeline's clock changes in the following circumstances:
The clock changes direction because of its timeline's
The clock accelerates or decelerates because of its timeline's
or AccelerationRatio property settings. DecelerationRatio
The clock is paused or resumed.
The clock becomes inactive or reactivates.
of one of the clock's parent changes. CurrentGlobalSpeed
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 property to determine whether its clock is paused; compare this against a previously cached value to determine whether it changed. IsPaused
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.
The following example shows how to register for the
No code example is currently available or this language may not be supported.
.NET Framework Available since 3.0 Return to top