Defines a segment of time over which output values are produced. These values are used to animate a target property.
Assembly: PresentationCore (in PresentationCore.dll)
Gets or sets a value that indicates whether the timeline plays in reverse after it completes a forward iteration. (Inherited from Timeline.)
Gets a value that indicates whether the object can be made unmodifiable. (Inherited from Freezable.)
Gets or sets the length of time for which this timeline plays, not counting repetitions. (Inherited from Timeline.)
Gets a value that indicates whether this animation uses the defaultDestinationValue parameter of the GetCurrentValue method as its destination value.
Gets a value that indicates whether the object is currently modifiable. (Inherited from Freezable.)
Gets a value that indicates whether this instance is currently sealed (read-only).(Inherited from DependencyObject.)
Gets or sets the repeating behavior of this timeline. (Inherited from Timeline.)
When overridden in a derived class, gets the Type of property that can be animated.
Occurs when this timeline has completely finished playing: it will no longer enter its active period. (Inherited from Timeline.)
Occurs when the rate at which time progresses for the timeline's clock changes.(Inherited from Timeline.)
Occurs when the clock created for this timeline or one of its parent timelines is removed.(Inherited from Timeline.)
An Timeline object that generates output values based on its timing progress. All animation types inherit from .is a type of
Freezable Features: Because it inherits from the Freezable class, the class provides several special features: objects can be declared as , shared among multiple objects, made read-only to improve performance, cloned, and made thread-safe. For more information about the different features provided by Freezable objects, see the Freezable Objects Overview.
Notes to Inheritors:
To create a custom animation, override or implement the following members:
GetCurrentValue – Override this method to return the current value of your animation. It takes three parameters: a default origin value, a default destination value, and an AnimationClock. Use the AnimationClock to obtain the current time or progress for the animation. You can choose whether to use the default origin and destination values.
If the class does not use dependency properties to store its data or it requires extra initialization after creation, you might need to override additional methods; see the Freezable Objects Overview for more information.
For more information about creating custom animations, see the Custom Animations Overview.
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.