Animation Base. Get Current Value Core Method
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Calculates a value that represents the current value of the property being animated, as determined by the host animation.
protected: abstract float GetCurrentValueCore(float defaultOriginValue, float defaultDestinationValue, System::Windows::Media::Animation::AnimationClock ^ animationClock);
protected abstract float GetCurrentValueCore (float defaultOriginValue, float defaultDestinationValue, System.Windows.Media.Animation.AnimationClock animationClock);
abstract member GetCurrentValueCore : single * single * System.Windows.Media.Animation.AnimationClock -> single
Protected MustOverride Function GetCurrentValueCore (defaultOriginValue As Single, defaultDestinationValue As Single, animationClock As AnimationClock) As Single
The suggested origin value, used if the animation does not have its own explicitly set start value.
The suggested destination value, used if the animation does not have its own explicitly set end value.
The calculated value of the property, as determined by the current 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,
defaultOriginValueis 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,
defaultOriginValueis the base value of the animated property.
If this animation is not in the first position of a composition chain, then
defaultOriginValueis 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,
defaultDestinationValueis the output from that layer.
If there is no previous composition layer,
defaultDestinationValueis the base value of the property that you are animating.