TypedAnimationBase<TKeyFrame,U> Class

Definition

A generic class extending AnimationBase to provide common implementation for most animations

public abstract class TypedAnimationBase<TKeyFrame,U> : Microsoft.Toolkit.Uwp.UI.Animations.AnimationBase where TKeyFrame : TypedKeyFrame<U>, new()
type TypedAnimationBase<'KeyFrame, 'U (requires 'KeyFrame :> TypedKeyFrame<'U> and 'KeyFrame : (new : unit -> 'KeyFrame))> = class
    inherit AnimationBase
Public MustInherit Class TypedAnimationBase(Of TKeyFrame, U)
Inherits AnimationBase

Type Parameters

TKeyFrame

Type of TypedKeyFrame<T> to use

U

Type of value being animated.

Inheritance
Windows.UI.Xaml.DependencyObject
TypedAnimationBase<TKeyFrame,U>

Constructors

TypedAnimationBase<TKeyFrame,U>()

Fields

FromProperty

Identifies the From dependency property.

ToProperty

Identifies the To dependency property.

Properties

Delay

Gets or sets the delay of the animation

(Inherited from AnimationBase)
Duration

Gets or sets the duration of the animation

(Inherited from AnimationBase)
From

Gets or sets the value at the beginning. Setting this value adds a new KeyFrame where the Key = 0

ImplicitTarget

Gets or sets the property that should start the implicit animation

(Inherited from AnimationBase)
KeyFrames

Gets or sets the KeyFrameCollection of the animations

(Inherited from AnimationBase)
SetInitialValueBeforeDelay

Gets or sets a value indicating whether the value at keyframe 0 should be set before the delay

(Inherited from AnimationBase)
Target

Gets or sets the target property to be animated

(Inherited from AnimationBase)
To

Gets or sets the value at the end. Setting this value generates a new KeyFrame where the Key = 1

Methods

GetCompositionAnimation(Compositor)

Gets a Windows.UI.Composition.CompositionAnimation that can be used on the Composition layer

GetTypedAnimationFromCompositor(Compositor)

Creates a composition animation for the property to be animated

InsertKeyFrameToTypedAnimation(KeyFrameAnimation, TKeyFrame)

Inserts the value and a specified key in the typed Windows.UI.Composition.KeyFrameAnimation

OnAnimationChanged()

Called when any property of the animation changes

(Inherited from AnimationBase)
StartAnimation(UIElement)

Starts the animation on the specified element

(Inherited from AnimationBase)

Events

AnimationChanged

Raised when a property changes

(Inherited from AnimationBase)

Applies to