KeyFrameAnimation.InsertExpressionKeyFrame Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 const& normalizedProgressKey, winrt::hstring const& value);
[Windows.Foundation.Metadata.Overload("InsertExpressionKeyFrame")]
public void InsertExpressionKeyFrame(float normalizedProgressKey, string value);
function insertExpressionKeyFrame(normalizedProgressKey, value)
Public Sub InsertExpressionKeyFrame (normalizedProgressKey As Single, value As String)
Parameters
- normalizedProgressKey
-
Single
float
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
Platform::String
winrt::hstring
The expression used to calculate the value of the key frame.
- Attributes
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 const& normalizedProgressKey, winrt::hstring const& value, CompositionEasingFunction const& easingFunction);
[Windows.Foundation.Metadata.Overload("InsertExpressionKeyFrameWithEasingFunction")]
public void InsertExpressionKeyFrame(float normalizedProgressKey, string value, CompositionEasingFunction easingFunction);
function insertExpressionKeyFrame(normalizedProgressKey, value, easingFunction)
Public Sub InsertExpressionKeyFrame (normalizedProgressKey As Single, value As String, easingFunction As CompositionEasingFunction)
Parameters
- normalizedProgressKey
-
Single
float
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
Platform::String
winrt::hstring
The expression used to calculate the value of the key frame.
- easingFunction
- CompositionEasingFunction
The easing function to use when interpolating between frames.
- Attributes