Int64Animation.GetCurrentValueCore Method (Int64, Int64, AnimationClock)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Calculates the value this animation believes should be the current value for the property.

Namespace:   System.Windows.Media.Animation
Assembly:  PresentationCore (in PresentationCore.dll)

protected override long GetCurrentValueCore(
	long defaultOriginValue,
	long defaultDestinationValue,
	AnimationClock animationClock
)

Parameters

defaultOriginValue
Type: System.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
Type: System.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
Type: System.Windows.Media.Animation.AnimationClock

This is the animationClock which can generate the CurrentTime or CurrentProgress value to be used by the animation to generate its output value.

Return Value

Type: System.Int64

The value this animation believes should be the current value for the property.

.NET Framework
Available since 3.0
Return to top
Show: