Vector4Animation 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 custom Vector4 animation.
public class Vector4Animation : Microsoft.Toolkit.Uwp.UI.Animations.TypedAnimationBase<Microsoft.Toolkit.Uwp.UI.Animations.Vector4KeyFrame,string>
public sealed class Vector4Animation : Microsoft.Toolkit.Uwp.UI.Animations.CustomAnimation<string,System.Numerics.Vector4>
type Vector4Animation = class
inherit TypedAnimationBase<Vector4KeyFrame, string>
type Vector4Animation = class
inherit CustomAnimation<string, Vector4>
Public Class Vector4Animation
Inherits TypedAnimationBase(Of Vector4KeyFrame, String)
Public NotInheritable Class Vector4Animation
Inherits CustomAnimation(Of String, Vector4)
- Inheritance
-
Vector4Animation
- Inheritance
-
Windows.UI.Xaml.DependencyObjectVector4Animation
Constructors
Vector4Animation() |
Properties
Delay |
Gets or sets the optional initial delay for the animation. (Inherited from Animation) |
DelayBehavior |
Gets or sets the delay behavior for the animation. The default value is set to Windows.UI.Composition.AnimationDelayBehavior.SetInitialValueBeforeDelay. This value is applicable when the current animation is used as either an implicit composition animation, or an explicit composition animation. If the current animation is instead running on the XAML layer (if used through CustomAnimation<TValue,TKeyFrame>), it will be ignored. (Inherited from Animation) |
Duration |
Gets or sets the animation duration. (Inherited from Animation) |
EasingMode |
Gets or sets the optional easing function mode for the animation. (Inherited from Animation) |
EasingType |
Gets or sets the optional easing function type for the animation. (Inherited from Animation) |
ExplicitTarget | (Inherited from CustomAnimation<TValue,TKeyFrame>) |
From |
Gets or sets the optional starting value for the animation. (Inherited from Animation<TValue,TKeyFrame>) |
ImplicitTarget |
Gets or sets the optional implicit target for the animation. This can act as a trigger property for the animation. (Inherited from ImplicitAnimation<TValue,TKeyFrame>) |
KeyFrames |
Gets or sets the optional keyframe collection for the current animation. Setting this will overwrite the To and From values. (Inherited from Animation<TValue,TKeyFrame>) |
Layer |
Gets or sets the target framework layer for the animation. This is only supported for a set of animation types (see the docs for more on this). Furthermore, this is ignored when the animation is being used as an implicit composition animation. The default value is Composition. (Inherited from CustomAnimation<TValue,TKeyFrame>) |
Repeat |
Gets or sets the repeat option for the animation. (Inherited from Animation) |
Target |
Gets or sets the target property for the animation. (Inherited from CustomAnimation<TValue,TKeyFrame>) |
To |
Gets or sets the final value for the animation. (Inherited from Animation<TValue,TKeyFrame>) |
Methods
AppendToBuilder(AnimationBuilder, Nullable<TimeSpan>, Nullable<TimeSpan>, Nullable<EasingType>, Nullable<EasingMode>) | (Inherited from CustomAnimation<TValue,TKeyFrame>) |
AppendToBuilder(INormalizedKeyFrameAnimationBuilder<TKeyFrame>, Nullable<EasingType>, Nullable<EasingMode>) |
Appends the current keyframe values to a target INormalizedKeyFrameAnimationBuilder<T> instance. This method will also automatically generate keyframes for To and From. (Inherited from Animation<TValue,TKeyFrame>) |
GetAnimation(UIElement, String) |
Gets a Windows.UI.Composition.CompositionAnimation from the current node. This animation might be used either as an implicit show/hide animation, or as a direct implicit animation. (Inherited from ImplicitAnimation<TValue,TKeyFrame>) |
GetParsedValues() |
Gets the parsed |
GetTypedAnimationFromCompositor(Compositor) | |
InsertKeyFrameToTypedAnimation(KeyFrameAnimation, Vector4KeyFrame) |
Events
AnimationPropertyChanged |
Raised whenever a property that influences the animation changes. This event is used by ImplicitAnimationSet to update the animations collection assigned to a target Windows.UI.Xaml.UIElement when any of the individual animations is modified. (Inherited from ImplicitAnimation<TValue,TKeyFrame>) |