VectorAnimationBase.GetCurrentValue Method (Object, Object, AnimationClock)
Gets the current value of the animation.
Assembly: PresentationCore (in PresentationCore.dll)
public override sealed object GetCurrentValue( object defaultOriginValue, object defaultDestinationValue, AnimationClock animationClock )
The origin value provided to the animation if the animation does not have its own start value.
The destination value provided to the animation if the animation does not have its own destination value.
Return ValueType: System.Object
The current value of the animation.
The value of the defaultOriginValue parameter depends on the animation’s position in the composition chain:
If the animation is in the first position in a composition chain and it replaces another animation, defaultOriginValue is the output of that animation at the time it was replaced.
If the animation is in the first position in a composition chain and no animation exists to replace, defaultOriginValue is the base value of the animated property.
If this animation is not in the first position of a composition chain, then defaultOriginValue is the value that is returned by the previous animation in the composition chain that has an AnimationClock that is not Stopped.
The value of the defaultDestinationValue parameter depends on whether there is a previous property Trigger composition layer.
If there is a previous property Trigger composition layer, defaultDestinationValue is the output from that layer.
If there is no previous composition layer, defaultDestinationValue is the base value of the property that you are animating.
Available since 3.0