Edit

Share via


ColorKeyFrame Constructors

Definition

Initializes a new instance of the ColorKeyFrame class.

Overloads

ColorKeyFrame()

Initializes a new instance of the ColorKeyFrame class.

ColorKeyFrame(Color)

Initializes a new instance of the ColorKeyFrame class that has the specified target Value.

ColorKeyFrame(Color, KeyTime)

Initializes a new instance of the ColorKeyFrame class that has the specified target Value and KeyTime.

ColorKeyFrame()

Initializes a new instance of the ColorKeyFrame class.

protected:
 ColorKeyFrame();
protected ColorKeyFrame ();
Protected Sub New ()

Applies to

ColorKeyFrame(Color)

Initializes a new instance of the ColorKeyFrame class that has the specified target Value.

protected:
 ColorKeyFrame(System::Windows::Media::Color value);
protected ColorKeyFrame (System.Windows.Media.Color value);
new System.Windows.Media.Animation.ColorKeyFrame : System.Windows.Media.Color -> System.Windows.Media.Animation.ColorKeyFrame
Protected Sub New (value As Color)

Parameters

value
Color

The Value of the new ColorKeyFrame instance.

Applies to

ColorKeyFrame(Color, KeyTime)

Initializes a new instance of the ColorKeyFrame class that has the specified target Value and KeyTime.

protected:
 ColorKeyFrame(System::Windows::Media::Color value, System::Windows::Media::Animation::KeyTime keyTime);
protected ColorKeyFrame (System.Windows.Media.Color value, System.Windows.Media.Animation.KeyTime keyTime);
new System.Windows.Media.Animation.ColorKeyFrame : System.Windows.Media.Color * System.Windows.Media.Animation.KeyTime -> System.Windows.Media.Animation.ColorKeyFrame
Protected Sub New (value As Color, keyTime As KeyTime)

Parameters

value
Color

The Value of the new ColorKeyFrame instance.

keyTime
KeyTime

The KeyTime of the new ColorKeyFrame instance.

Applies to