AnimationClock Class
Maintains the run-time state of an AnimationTimeline and processes its output values.
Assembly: PresentationCore (in PresentationCore.dll)
System.Windows.Threading::DispatcherObject
System.Windows.Media.Animation::Clock
System.Windows.Media.Animation::AnimationClock
| Name | Description | |
|---|---|---|
![]() | AnimationClock(AnimationTimeline^) | Initializes a new instance of the AnimationClock class. |
| Name | Description | |
|---|---|---|
![]() | Controller | Gets a ClockController that can be used to start, pause, resume, seek, skip, stop, or remove this Clock. (Inherited from Clock.) |
![]() | CurrentGlobalSpeed | Gets the rate at which the clock's time is currently progressing, compared to real-world time.(Inherited from Clock.) |
![]() | CurrentGlobalTime | Gets the current global time, as established by the WPF timing system. (Inherited from Clock.) |
![]() | CurrentIteration | Get the current iteration of this clock. (Inherited from Clock.) |
![]() | CurrentProgress | |
![]() | CurrentState | |
![]() | CurrentTime | Gets this clock's current time within its current iteration.(Inherited from Clock.) |
![]() | Dispatcher | Gets the Dispatcher this DispatcherObject is associated with. (Inherited from DispatcherObject.) |
![]() | HasControllableRoot | |
![]() | IsPaused | |
![]() | NaturalDuration | |
![]() | Parent | Gets the clock that is the parent of this clock. (Inherited from Clock.) |
![]() | Timeline | Gets the AnimationTimeline that describes this clock's behavior. |
| Name | Description | |
|---|---|---|
![]() | CheckAccess() | Determines whether the calling thread has access to this DispatcherObject.(Inherited from DispatcherObject.) |
![]() | DiscontinuousTimeMovement() | When implemented in a derived class, will be invoked whenever a clock repeats, skips, or seeks. (Inherited from Clock.) |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetCanSlip() | |
![]() | GetCurrentTimeCore() | Gets this clock's current time within its current iteration.(Inherited from Clock.) |
![]() | GetCurrentValue(Object^, Object^) | Gets the current output value of the AnimationClock. |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | SpeedChanged() | When implemented in a derived class, will be invoked whenever a clock begins, skips, pauses, resumes, or when the clock's SpeedRatio is modified.(Inherited from Clock.) |
![]() | Stopped() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
![]() | VerifyAccess() | Enforces that the calling thread has access to this DispatcherObject.(Inherited from DispatcherObject.) |
| Name | Description | |
|---|---|---|
![]() | Completed | Occurs when this clock has completely finished playing.(Inherited from Clock.) |
![]() | CurrentGlobalSpeedInvalidated | Occurs when the clock's speed is updated.(Inherited from Clock.) |
![]() | CurrentStateInvalidated | Occurs when the clock's CurrentState property is updated. (Inherited from Clock.) |
![]() | CurrentTimeInvalidated | Occurs when this clock's CurrentTime becomes invalid. (Inherited from Clock.) |
![]() | RemoveRequested |
AnimationClock objects are generated from AnimationTimeline objects. An AnimationTimeline describes an animation's output values, duration, begin time, end time, and other fundamental animation information. An AnimationClock processes the animation values described by an AnimationTimeline object.
Available since 3.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.




