Edit

Share via


AnimationBase Class

Definition

Abstract class providing common dependency properties for composition animations

[Windows.UI.Xaml.Markup.ContentProperty(Name="KeyFrames")]
public abstract class AnimationBase : Windows.UI.Xaml.DependencyObject
[<Windows.UI.Xaml.Markup.ContentProperty(Name="KeyFrames")>]
type AnimationBase = class
    inherit DependencyObject
Public MustInherit Class AnimationBase
Inherits DependencyObject
Inheritance
Windows.UI.Xaml.DependencyObject
AnimationBase
Derived
Attributes
Windows.UI.Xaml.Markup.ContentPropertyAttribute

Constructors

AnimationBase()

Initializes a new instance of the AnimationBase class.

Fields

DelayProperty

Identifies the Delay property

DurationProperty

Identifies the Duration property

ImplicitTargetProperty

Identifies the ImplicitTarget property

KeyFramesProperty

Identifies the KeyFrames property

SetInitialValueBeforeDelayProperty

Identifies the SetInitialValueBeforeDelay property

TargetProperty

Identifies the Target property

Properties

Delay

Gets or sets the delay of the animation

Duration

Gets or sets the duration of the animation

ImplicitTarget

Gets or sets the property that should start the implicit animation

KeyFrames

Gets or sets the KeyFrameCollection of the animations

SetInitialValueBeforeDelay

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

Target

Gets or sets the target property to be animated

Methods

GetCompositionAnimation(Compositor)

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

OnAnimationChanged()

Called when any property of the animation changes

StartAnimation(UIElement)

Starts the animation on the specified element

Events

AnimationChanged

Raised when a property changes

Applies to