Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DiscreteSingleKeyFrame.InterpolateValueCore Method

Uses discrete interpolation to transition between the previous key frame value and the value of the current key frame.

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

protected override float InterpolateValueCore(
	float baseValue,
	double keyFrameProgress
)

Parameters

baseValue
Type: System.Single

The value to animate from.

keyFrameProgress
Type: System.Double

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

Return Value

Type: System.Single
The output value of this key frame given the specified base value and progress.

.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