Skip to main content
AnimationClock Class
 

Maintains the run-time state of an AnimationTimeline and processes its output values.

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

SystemObject
   System.Windows.ThreadingDispatcherObject
     System.Windows.Media.AnimationClock
      System.Windows.Media.AnimationAnimationClock

public class AnimationClock : Clock
public ref class AnimationClock : Clock
type AnimationClock = 
    class
        inherit Clock
    end
Public Class AnimationClock
	Inherits Clock
NameDescription
System_CAPS_protmethod AnimationClock

Initializes a new instance of the AnimationClock class.

NameDescription
System_CAPS_pubproperty

Gets a ClockController that can be used to start, pause, resume, seek, skip, stop, or remove this Clock. (Inherited from Clock.)

System_CAPS_pubproperty

Gets the rate at which the clock's time is currently progressing, compared to real-world time.(Inherited from Clock.)

System_CAPS_protproperty

Gets the current global time, as established by the WPF timing system. (Inherited from Clock.)

System_CAPS_pubproperty

Get the current iteration of this clock. (Inherited from Clock.)

System_CAPS_pubproperty

Gets the current progress of this Clock within its current iteration. (Inherited from Clock.)

System_CAPS_pubproperty

Gets a value indicating whether the clock is currently Active, Filling, or Stopped. (Inherited from Clock.)

System_CAPS_pubproperty

Gets this clock's current time within its current iteration.(Inherited from Clock.)

System_CAPS_pubproperty

Gets the Dispatcher this DispatcherObject is associated with. (Inherited from DispatcherObject.)

System_CAPS_pubproperty

Gets a value that indicates whether this Clock is part of a controllable clock tree.(Inherited from Clock.)

System_CAPS_pubproperty

Gets a value that indicates whether this Clock, or any of its parents, is paused. (Inherited from Clock.)

System_CAPS_pubproperty

Gets the natural duration of this clock's .(Inherited from Clock.)

System_CAPS_pubproperty

Gets the clock that is the parent of this clock. (Inherited from Clock.)

System_CAPS_pubproperty

Gets the AnimationTimeline that describes this clock's behavior.

NameDescription
System_CAPS_pubmethod CheckAccess

Determines whether the calling thread has access to this DispatcherObject.(Inherited from DispatcherObject.)

System_CAPS_protmethod DiscontinuousTimeMovement

When implemented in a derived class, will be invoked whenever a clock repeats, skips, or seeks. (Inherited from Clock.)

System_CAPS_pubmethod Equals

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethod Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_protmethod GetCanSlip

Returns whether the Clock has its own external time source, which may require synchronization with the timing system.(Inherited from Clock.)

System_CAPS_protmethod GetCurrentTimeCore

Gets this clock's current time within its current iteration.(Inherited from Clock.)

System_CAPS_pubmethod GetCurrentValue

Gets the current output value of the AnimationClock.

System_CAPS_pubmethod GetHashCode

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethod GetType

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethod SpeedChanged

When implemented in a derived class, will be invoked whenever a clock begins, skips, pauses, resumes, or when the clock's is modified.(Inherited from Clock.)

System_CAPS_protmethod Stopped

When implemented in a derived class, will be invoked whenever a clock is stopped using the Stop method.(Inherited from Clock.)

System_CAPS_pubmethod ToString

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethod VerifyAccess

Enforces that the calling thread has access to this DispatcherObject.(Inherited from DispatcherObject.)

NameDescription
System_CAPS_pubevent Completed

Occurs when this clock has completely finished playing.(Inherited from Clock.)

System_CAPS_pubevent CurrentGlobalSpeedInvalidated

Occurs when the clock's speed is updated.(Inherited from Clock.)

System_CAPS_pubevent CurrentStateInvalidated

Occurs when the clock's property is updated. (Inherited from Clock.)

System_CAPS_pubevent CurrentTimeInvalidated

Occurs when this clock's becomes invalid. (Inherited from Clock.)

System_CAPS_pubevent RemoveRequested

Occurs when the Remove method is called on this Clock or one of its parent clocks. (Inherited from Clock.)

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.

.NET Framework
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.

Return to top