KeyFrameAnimation.InsertExpressionKeyFrame Method
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.
InsertExpressionKeyFrame(Single, String) |
Inserts an expression key frame. |
InsertExpressionKeyFrame(Single, String, CompositionEasingFunction) |
Inserts an expression keyframe. |
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
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 |
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
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 |