Export (0) Print
Expand All

DoubleAnimation.GetCurrentValueCore Method

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

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

protected override double GetCurrentValueCore (
	double defaultOriginValue,
	double defaultDestinationValue,
	AnimationClock animationClock
)
protected double GetCurrentValueCore (
	double defaultOriginValue, 
	double defaultDestinationValue, 
	AnimationClock animationClock
)
protected override function GetCurrentValueCore (
	defaultOriginValue : double, 
	defaultDestinationValue : double, 
	animationClock : AnimationClock
) : double
You cannot use methods in XAML.

Parameters

defaultOriginValue

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

defaultDestinationValue

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

animationClock

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

Return Value

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.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2014 Microsoft