Class BaseAnimation<T, K>
Implements generic base class for from/to/by animations
Inheritance
System.Object
BaseAnimation<T, K>
Inherited Members
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
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. |