DiscreteColorKeyFrame Constructor (Color, KeyTime)

DiscreteColorKeyFrame Constructor (Color, KeyTime)

 

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

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

public DiscreteColorKeyFrame(
	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:
© 2016 Microsoft