Export (0) Print
Expand All

PointAnimationUsingKeyFrames.GetCurrentValueCore Method

Calculates a value that represents the current value of the property being animated, as determined by this instance of PointAnimationUsingKeyFrames.

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

protected override sealed Point GetCurrentValueCore(
	Point defaultOriginValue,
	Point defaultDestinationValue,
	AnimationClock animationClock
)

Parameters

defaultOriginValue
Type: System.Windows.Point

The suggested origin value, used if the animation does not have its own explicitly set start value.

defaultDestinationValue
Type: System.Windows.Point

The suggested destination value, used if the animation does not have its own explicitly set end value.

animationClock
Type: System.Windows.Media.Animation.AnimationClock

An AnimationClock that generates the CurrentTime or CurrentProgress used by the host animation.

Return Value

Type: System.Windows.Point
The calculated value of the property, as determined by the current instance.

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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft