Show / Hide Table of Contents

Class BaseAnimation<T, K>

Implements generic base class for from/to/by animations

Inheritance
System.Object
DependencyObject
Freezable
Timeline
BaseAnimation<T, K>
FloatAnimation
SolidColorBrushAnimation
ThicknessAnimation
Inherited Members
Timeline.target
Timeline.property
Timeline.isAdditive
Timeline.Name
Timeline.AutoReverseProperty
Timeline.AutoReverse
Timeline.DurationProperty
Timeline.Duration
Timeline.EasingFunction
Timeline.RepeatBehaviorProperty
Timeline.RepeatBehavior
Timeline.IsAdditiveProperty
Timeline.IsAdditive
Timeline.IsRunning
Timeline.Begin(UIElement)
Timeline.Stop(UIElement)
Timeline.Update(Double)
Timeline.UpdateCore(Double)
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 class BaseAnimation<T, K> : Timeline where T : struct
Type Parameters
Name Description
T
K

Constructors

BaseAnimation()

Initializes a new instance of the BaseAnimation<T, K> class.

Declaration
public BaseAnimation()

Fields

by

local value by

Declaration
protected T? by
Field Value
Type Description
System.Nullable<T>

ByProperty

The by property

Declaration
public static readonly DependencyProperty ByProperty
Field Value
Type Description
DependencyProperty

from

local value From

Declaration
protected T? from
Field Value
Type Description
System.Nullable<T>

FromProperty

From property

Declaration
public static readonly DependencyProperty FromProperty
Field Value
Type Description
DependencyProperty

to

local value To

Declaration
protected T? to
Field Value
Type Description
System.Nullable<T>

ToProperty

To property

Declaration
public static readonly DependencyProperty ToProperty
Field Value
Type Description
DependencyProperty

Properties

By

Gets or sets the by.

Declaration
public T? By { get; set; }
Property Value
Type Description
System.Nullable<T>

The by.

From

Gets or sets from.

Declaration
public T? From { get; set; }
Property Value
Type Description
System.Nullable<T>

From.

To

Gets or sets to.

Declaration
public T? To { get; set; }
Property Value
Type Description
System.Nullable<T>

To.

Methods

BeginCore(UIElement)

Virtual core method for custom code of child animations

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

The host.

Overrides
Timeline.BeginCore(UIElement)
Exceptions
Type Condition
System.ArgumentNullException

Animation without From/To values needs base value for target element property. or Additive animation needs base value for target element property.

Back to top Generated by DocFX