Show / Hide Table of Contents

Class AnimationManager

Implements manager for all animation storyboards and updates every frame

Inheritance
System.Object
AnimationManager
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: EmptyKeys.UserInterface.Media.Animation
Assembly: EmptyKeys.UserInterface.dll
Syntax
public sealed class AnimationManager

Properties

Instance

Gets the instance.

Declaration
public static AnimationManager Instance { get; }
Property Value
Type Description
AnimationManager

The instance.

Methods

AddScrollViewer(ScrollViewer)

Adds the scroll viewer for deceleration animation

Declaration
public void AddScrollViewer(ScrollViewer viewer)
Parameters
Type Name Description
ScrollViewer viewer

The viewer.

AddStoryboard(UIElement, Storyboard)

Adds the storyboard.

Declaration
public void AddStoryboard(UIElement host, Storyboard storyboard)
Parameters
Type Name Description
UIElement host

The host.

Storyboard storyboard

The storyboard.

Clear()

Clears this instance.

Declaration
public void Clear()

RemoveScrollViewer(ScrollViewer)

Removes the scroll viewer.

Declaration
public void RemoveScrollViewer(ScrollViewer viewer)
Parameters
Type Name Description
ScrollViewer viewer

The viewer.

RemoveStoryboard(Storyboard)

Removes the storyboard.

Declaration
public void RemoveStoryboard(Storyboard storyboard)
Parameters
Type Name Description
Storyboard storyboard

The storyboard.

Update(Double)

Updates all storyboards

Declaration
public void Update(double elapsedGameTime)
Parameters
Type Name Description
System.Double elapsedGameTime

The game time.

Back to top Generated by DocFX