DoubleAnimation.GetCurrentValueCore(Double, Double, AnimationClock) Method
Important
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 DoubleAnimation.
protected:
override double GetCurrentValueCore(double defaultOriginValue, double defaultDestinationValue, System::Windows::Media::Animation::AnimationClock ^ animationClock);
protected override double GetCurrentValueCore (double defaultOriginValue, double defaultDestinationValue, System.Windows.Media.Animation.AnimationClock animationClock);
override this.GetCurrentValueCore : double * double * System.Windows.Media.Animation.AnimationClock -> double
Protected Overrides Function GetCurrentValueCore (defaultOriginValue As Double, defaultDestinationValue As Double, animationClock As AnimationClock) As Double
- defaultOriginValue
- Double
The suggested origin value, used if the animation does not have its own explicitly set start value.
- defaultDestinationValue
- Double
The suggested destination value, used if the animation does not have its own explicitly set end value.
- animationClock
- AnimationClock
An AnimationClock that generates the CurrentTime or CurrentProgress used by the animation.
The calculated value of the property, as determined by the current animation.
If the defaultOriginValue
is the first in the composition chain, this value will be the snapshot value (if one is available) or the base property value; otherwise this value will be the value returned by the previous animation in the chain with an AnimationClock that is not Stopped.
The defaultDestinationValue
is the base value if the animation is in the first composition layer of animations on a property; otherwise the value is the output value from the previous composition layer of animations for the property.
Product | Versions |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: