SplineSingleKeyFrame Constructors

Definition

Initializes a new instance of the SplineSingleKeyFrame class.

Overloads

SplineSingleKeyFrame()

Initializes a new instance of the SplineSingleKeyFrame class.

SplineSingleKeyFrame(Single)

Initializes a new instance of the SplineSingleKeyFrame class with the specified ending value.

SplineSingleKeyFrame(Single, KeyTime)

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

SplineSingleKeyFrame(Single, KeyTime, KeySpline)

Initializes a new instance of the SplineSingleKeyFrame class with the specified ending value, key time, and KeySpline.

SplineSingleKeyFrame()

Initializes a new instance of the SplineSingleKeyFrame class.

C#
public SplineSingleKeyFrame();

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

SplineSingleKeyFrame(Single)

Initializes a new instance of the SplineSingleKeyFrame class with the specified ending value.

C#
public SplineSingleKeyFrame(float value);

Parameters

value
Single

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

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

SplineSingleKeyFrame(Single, KeyTime)

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

C#
public SplineSingleKeyFrame(float value, System.Windows.Media.Animation.KeyTime keyTime);

Parameters

value
Single

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

keyTime
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.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

SplineSingleKeyFrame(Single, KeyTime, KeySpline)

Initializes a new instance of the SplineSingleKeyFrame class with the specified ending value, key time, and KeySpline.

C#
public SplineSingleKeyFrame(float value, System.Windows.Media.Animation.KeyTime keyTime, System.Windows.Media.Animation.KeySpline keySpline);

Parameters

value
Single

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

keyTime
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.

keySpline
KeySpline

KeySpline for the key frame. The KeySpline represents a Bezier curve which defines animation progress of the key frame.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10