LinearColorKeyFrame Constructor (Color, KeyTime)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the LinearColorKeyFrame class with the specified ending value and key time.

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

public LinearColorKeyFrame(
	Color value,
	KeyTime keyTime
)

Parameters

value
Type: System.Windows.Media.Color

Ending value (also known as "target value") for the key frame.

keyTime
Type: System.Windows.Media.Animation.KeyTime

Key time for the key frame. The key time determines when the target value is reached which is also when the key frame ends.

.NET Framework
Available since 3.0
Return to top
Show: