KeyFrameAnimation.InsertExpressionKeyFrame Method

Definition

Overloads

InsertExpressionKeyFrame(Single, String)

Inserts an expression key frame.

InsertExpressionKeyFrame(Single, String, CompositionEasingFunction)

Inserts an expression keyframe.

InsertExpressionKeyFrame(Single, String)

Inserts an expression key frame.

public:
 virtual void InsertExpressionKeyFrame(float normalizedProgressKey, Platform::String ^ value) = InsertExpressionKeyFrame;
/// [Windows.Foundation.Metadata.Overload("InsertExpressionKeyFrame")]
void InsertExpressionKeyFrame(float normalizedProgressKey, winrt::hstring const & value);
[Windows.Foundation.Metadata.Overload("InsertExpressionKeyFrame")]
public void InsertExpressionKeyFrame(float normalizedProgressKey, string value);
Public Sub InsertExpressionKeyFrame (normalizedProgressKey As Single, value As String)

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
Windows.Foundation.Metadata.OverloadAttribute

See also

Applies to

InsertExpressionKeyFrame(Single, String, CompositionEasingFunction)

Inserts an expression keyframe.

public:
 virtual void InsertExpressionKeyFrame(float normalizedProgressKey, Platform::String ^ value, CompositionEasingFunction ^ easingFunction) = InsertExpressionKeyFrame;
/// [Windows.Foundation.Metadata.Overload("InsertExpressionKeyFrameWithEasingFunction")]
void InsertExpressionKeyFrame(float normalizedProgressKey, winrt::hstring const & value, CompositionEasingFunction const & easingFunction);
[Windows.Foundation.Metadata.Overload("InsertExpressionKeyFrameWithEasingFunction")]
public void InsertExpressionKeyFrame(float normalizedProgressKey, string value, CompositionEasingFunction easingFunction);
Public Sub InsertExpressionKeyFrame (normalizedProgressKey As Single, value As String, easingFunction As CompositionEasingFunction)

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
Windows.Foundation.Metadata.OverloadAttribute

See also

Applies to