Int64Animation.GetCurrentValueCore(Int64, Int64, AnimationClock) Method
Definition
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 the value this animation believes should be the current value for the property.
protected:
override long GetCurrentValueCore(long defaultOriginValue, long defaultDestinationValue, System::Windows::Media::Animation::AnimationClock ^ animationClock);
protected override long GetCurrentValueCore (long defaultOriginValue, long defaultDestinationValue, System.Windows.Media.Animation.AnimationClock animationClock);
override this.GetCurrentValueCore : int64 * int64 * System.Windows.Media.Animation.AnimationClock -> int64
Protected Overrides Function GetCurrentValueCore (defaultOriginValue As Long, defaultDestinationValue As Long, animationClock As AnimationClock) As Long
Parameters
- defaultOriginValue
- Int64
This value is the suggested origin value provided to the animation to be used if the animation does not have its own concept of a start value. If this animation is the first in a composition chain this value will be the snapshot value if one is available or the base property value if it is not; otherwise this value will be the value returned by the previous animation in the chain with an animationClock that is not Stopped.
- defaultDestinationValue
- Int64
This value is the suggested destination value provided to the animation to be used if the animation does not have its own concept of an end value. This value will be the base value if the animation is in the first composition layer of animations on a property; otherwise this value will be the output value from the previous composition layer of animations for the property.
- animationClock
- AnimationClock
This is the animationClock which can generate the CurrentTime or CurrentProgress value to be used by the animation to generate its output value.
Returns
The value this animation believes should be the current value for the property.