KeyFrame<TValue,TKeyFrame> Class
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.
A base model representing a typed keyframe that can be used in XAML.
public abstract class KeyFrame<TValue,TKeyFrame> : Windows.UI.Xaml.DependencyObject, Microsoft.Toolkit.Uwp.UI.Animations.IKeyFrame<TKeyFrame>
type KeyFrame<'Value, 'KeyFrame> = class
inherit DependencyObject
interface IKeyFrame<'KeyFrame>
Public MustInherit Class KeyFrame(Of TValue, TKeyFrame)
Inherits DependencyObject
Implements IKeyFrame(Of TKeyFrame)
Type Parameters
- TValue
The type to use for the public Value property.
This can differ from TKeyFrame
to facilitate XAML parsing.
- TKeyFrame
The actual type of keyframe values in use.
- Inheritance
-
Windows.UI.Xaml.DependencyObjectKeyFrame<TValue,TKeyFrame>
- Derived
- Implements
-
IKeyFrame<TKeyFrame>
Constructors
KeyFrame<TValue,TKeyFrame>() |
Fields
EasingModeProperty |
Identifies the dependency property. |
EasingTypeProperty |
Identifies the dependency property. |
ExpressionProperty |
Identifies the dependency property. |
KeyProperty |
Identifies the dependency property. |
ValueProperty |
Identifies the dependency property. |
Properties
EasingMode |
Gets or sets the optional easing function mode for the keyframe. |
EasingType |
Gets or sets the optional easing function type for the keyframe. |
Expression |
Gets or sets the optional expression for the current keyframe. If this is set, Value will be ignored. |
Key |
Gets or sets the key time for the current keyframe. This is a normalized value in the [0, 1] range, relative to the total animation duration. |
Value |
Gets or sets the animation value for the current keyframe. |
Methods
AppendToBuilder(INormalizedKeyFrameAnimationBuilder<TKeyFrame>) | |
GetParsedValue() |
Gets the parsed |