KeyFrameAnimation.InsertExpressionKeyFrame Method

Definition

Overloads

InsertExpressionKeyFrame(Single, String)

Inserts an expression key frame.

C#
[Windows.Foundation.Metadata.Overload("InsertExpressionKeyFrame")]
public void InsertExpressionKeyFrame(float normalizedProgressKey, string value);

Parameters

normalizedProgressKey
Single

The time the key frame should occur at, expressed as a percentage of the animation Duration. Allowed value is from 0.0 to 1.0.

value
String

The expression used to calculate the value of the key frame.

Attributes

See also

Applies to

WinRT Build 26100 and other versions
Product Versions
WinRT Build 10240, Build 10586, Build 14383, Build 15063, Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100

InsertExpressionKeyFrame(Single, String, CompositionEasingFunction)

Inserts an expression keyframe.

C#
[Windows.Foundation.Metadata.Overload("InsertExpressionKeyFrameWithEasingFunction")]
public void InsertExpressionKeyFrame(float normalizedProgressKey, string value, CompositionEasingFunction easingFunction);

Parameters

normalizedProgressKey
Single

The time the key frame should occur at, expressed as a percentage of the animation Duration. Allowed value is from 0.0 to 1.0.

value
String

The expression used to calculate the value of the key frame.

easingFunction
CompositionEasingFunction

The easing function to use when interpolating between frames.

Attributes

See also

Applies to

WinRT Build 26100 and other versions
Product Versions
WinRT Build 10240, Build 10586, Build 14383, Build 15063, Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100