Export (0) Print
Expand All
Expand Minimize

ClockState Enumeration

Describes the potential states of a timeline's Clock object.

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

public enum ClockState
<object property="enumerationMemberName" .../>

Member nameDescription
ActiveThe current Clock time changes in direct relation to that of its parent. If the timeline is an animation, it is actively affecting targeted properties, so their value may change from tick (a sampling point in time) to tick. If the timeline has children, they may be Active, Filling, or Stopped.
FillingThe Clock timing continues, but does not change in relation to that of its parent. If the timeline is an animation, it is actively affecting targeted properties, but its values don't change from tick to tick. If the timeline has children, they may be Active, Filling, or Stopped.
StoppedThe Clock timing is halted, making the clock's current time and progress values undefined. If this timeline is an animation, it no longer affects targeted properties. If this timeline has children, they are also Stopped.

Note that ClockState does not indicate whether a clock is paused or the direction in which time is flowing.

These explanations rely on the concept of ticks; for a detailed explanation see the Animation and Timing System Overview.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft