Show / Hide Table of Contents

Class Timeline

Implements base class for all animations

Inheritance
System.Object
DependencyObject
Freezable
Timeline
BaseAnimation<T, K>
Inherited Members
Freezable.IsFrozen
Freezable.Parent
Freezable.Changed
Freezable.Freeze()
Freezable.OnPropertyChanged(DependencyProperty)
DependencyObject.DependencyObjectType
DependencyObject.IsSealed
DependencyObject.Equals(Object)
DependencyObject.GetHashCode()
DependencyObject.ClearValue(DependencyProperty)
DependencyObject.GetValue(DependencyProperty)
DependencyObject.ReadLocalValue(DependencyProperty)
DependencyObject.GetLocalValueEnumerator()
DependencyObject.SetValue(DependencyProperty, Object)
DependencyObject.CoerceValue(DependencyProperty)
DependencyObject.SetBinding(DependencyProperty, Binding)
DependencyObject.SetResourceReference(DependencyProperty, Object)
Namespace: EmptyKeys.UserInterface.Media.Animation
Assembly: EmptyKeys.UserInterface.dll
Syntax
public abstract class Timeline : Freezable

Constructors

Timeline()

Initializes a new instance of the Timeline class.

Declaration
public Timeline()

Fields

AutoReverseProperty

The automatic reverse property

Declaration
public static readonly DependencyProperty AutoReverseProperty
Field Value
Type Description
DependencyProperty

DurationProperty

The duration property

Declaration
public static readonly DependencyProperty DurationProperty
Field Value
Type Description
DependencyProperty

isAdditive

The is additive flag - local value

Declaration
protected bool isAdditive
Field Value
Type Description
System.Boolean

IsAdditiveProperty

The is additive property

Declaration
public static readonly DependencyProperty IsAdditiveProperty
Field Value
Type Description
DependencyProperty

property

The property - local copy

Declaration
protected DependencyProperty property
Field Value
Type Description
DependencyProperty

RepeatBehaviorProperty

The repeat behavior property

Declaration
public static readonly DependencyProperty RepeatBehaviorProperty
Field Value
Type Description
DependencyProperty

target

The target - local copy

Declaration
protected DependencyObject target
Field Value
Type Description
DependencyObject

Properties

AutoReverse

Gets or sets a value indicating whether [automatic reverse].

Declaration
public bool AutoReverse { get; set; }
Property Value
Type Description
System.Boolean

true if [automatic reverse]; otherwise, false.

Duration

Gets or sets the duration.

Declaration
public Duration Duration { get; set; }
Property Value
Type Description
Duration

The duration.

EasingFunction

Gets or sets the easing function.

Declaration
public EasingFunctionBase EasingFunction { get; set; }
Property Value
Type Description
EasingFunctionBase

The easing function.

IsAdditive

Gets or sets a value indicating whether animation is additive.

Declaration
public bool IsAdditive { get; set; }
Property Value
Type Description
System.Boolean

true if animation is additive; otherwise, false.

IsRunning

Gets or sets a value indicating whether this instance is running.

Declaration
public bool IsRunning { get; set; }
Property Value
Type Description
System.Boolean

true if this instance is running; otherwise, false.

Name

Gets or sets the name.

Declaration
public string Name { get; set; }
Property Value
Type Description
System.String

The name.

RepeatBehavior

Gets or sets the repeat behavior.

Declaration
public RepeatBehavior RepeatBehavior { get; set; }
Property Value
Type Description
RepeatBehavior

The repeat behavior.

Methods

Begin(UIElement)

Starts the animation

Declaration
public void Begin(UIElement host)
Parameters
Type Name Description
UIElement host

The host.

Exceptions
Type Condition
System.ArgumentNullException

TargetName or Target not found

BeginCore(UIElement)

Virtual core method for custom code of child animations

Declaration
protected virtual void BeginCore(UIElement host)
Parameters
Type Name Description
UIElement host

The host.

Stop(UIElement)

Stops the animation

Declaration
public void Stop(UIElement host)
Parameters
Type Name Description
UIElement host

The host.

Exceptions
Type Condition
System.NotImplementedException

Update(Double)

Updates animation

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

The elapsed game time.

UpdateCore(Double)

Updates animation core - virtual method for custom code of child animations

Declaration
protected virtual object UpdateCore(double progress)
Parameters
Type Name Description
System.Double progress

The progress.

Returns
Type Description
System.Object
Exceptions
Type Condition
System.NotImplementedException
Back to top Generated by DocFX