Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ColorAnimation.GetCurrentValueCore Method

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

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

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

Parameters

defaultOriginValue
Type: System.Windows.Media.Color

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

defaultDestinationValue
Type: System.Windows.Media.Color

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 animation.

Return Value

Type: System.Windows.Media.Color
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.

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft