Class Timeline
Implements base class for all animations
Inherited Members
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 |
|
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 |
|
IsRunning
Gets or sets a value indicating whether this instance is running.
Declaration
public bool IsRunning { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
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 |