This documentation is archived and is not being maintained.

AnimationTimeline.GetCurrentValue Method

Gets the current value of the animation.

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

public virtual Object GetCurrentValue (
	Object defaultOriginValue,
	Object defaultDestinationValue,
	AnimationClock animationClock
)
public Object GetCurrentValue (
	Object defaultOriginValue, 
	Object defaultDestinationValue, 
	AnimationClock animationClock
)
public function GetCurrentValue (
	defaultOriginValue : Object, 
	defaultDestinationValue : Object, 
	animationClock : AnimationClock
) : Object
You cannot use methods in XAML.

Parameters

defaultOriginValue

The origin value provided to the animation if the animation does not have its own start value. If this animation is the first in a composition chain it will be the base value of the property being animated; otherwise it will be the value returned by the previous animation in the chain.

defaultDestinationValue

The destination value provided to the animation if the animation does not have its own destination value.

animationClock

The AnimationClock which can generate the CurrentTime or CurrentProgress value to be used by the animation to generate its output value.

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
Show: