This documentation is archived and is not being maintained.

ColorKeyFrame.InterpolateValueCore Method

Calculates the value of a key frame at the progress increment provided.

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

protected abstract Color InterpolateValueCore (
	Color baseValue,
	double keyFrameProgress
)
protected abstract Color InterpolateValueCore (
	Color baseValue, 
	double keyFrameProgress
)
protected abstract function InterpolateValueCore (
	baseValue : Color, 
	keyFrameProgress : double
) : Color
You cannot use methods in XAML.

Parameters

baseValue

The value to animate from; typically the value of the previous key frame.

keyFrameProgress

A value between 0.0 and 1.0, inclusive, that specifies the percentage of time that has elapsed for this key frame.

Return Value

The output value of this key frame given the specified base value and progress.

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: