Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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)

System.Object
  System.Windows.Threading.DispatcherObject
    System.Windows.Media.Animation.Clock
      System.Windows.Media.Animation.AnimationClock

type AnimationClock = 
    class
        inherit Clock
    end

NameDescription
System_CAPS_protmethodAnimationClock(AnimationTimeline)

Initializes a new instance of the AnimationClock class.

NameDescription
System_CAPS_pubpropertyController

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

System_CAPS_pubpropertyCurrentGlobalSpeed

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

System_CAPS_protpropertyCurrentGlobalTime

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

System_CAPS_pubpropertyCurrentIteration

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

System_CAPS_pubpropertyCurrentProgress

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

System_CAPS_pubpropertyCurrentState

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

System_CAPS_pubpropertyCurrentTime

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

System_CAPS_pubpropertyDispatcher

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

System_CAPS_pubpropertyHasControllableRoot

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

System_CAPS_pubpropertyIsPaused

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

System_CAPS_pubpropertyNaturalDuration

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

System_CAPS_pubpropertyParent

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

System_CAPS_pubpropertyTimeline

Gets the AnimationTimeline that describes this clock's behavior.

NameDescription
System_CAPS_pubmethodCheckAccess()

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

System_CAPS_protmethodDiscontinuousTimeMovement()

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

System_CAPS_pubmethodEquals(Object)

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

System_CAPS_protmethodFinalize()

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_protmethodGetCanSlip()

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

System_CAPS_protmethodGetCurrentTimeCore()

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

System_CAPS_pubmethodGetCurrentValue(Object, Object)

Gets the current output value of the AnimationClock.

System_CAPS_pubmethodGetHashCode()

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

System_CAPS_pubmethodGetType()

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

System_CAPS_protmethodMemberwiseClone()

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

System_CAPS_protmethodSpeedChanged()

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.)

System_CAPS_protmethodStopped()

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

System_CAPS_pubmethodToString()

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

System_CAPS_pubmethodVerifyAccess()

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

NameDescription
System_CAPS_pubeventCompleted

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

System_CAPS_pubeventCurrentGlobalSpeedInvalidated

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

System_CAPS_pubeventCurrentStateInvalidated

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

System_CAPS_pubeventCurrentTimeInvalidated

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

System_CAPS_pubeventRemoveRequested

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
Show:
© 2016 Microsoft