Class DoubleAnimation
Animates the value of a System.Double property between two target values using linear interpolation over a specified Duration.
Inherited Members
Namespace: System.Windows.Media.Animation
Assembly: OpenSilver.dll
Syntax
public class DoubleAnimation : AnimationTimeline, IDependencyObject
Constructors
| Improve this Doc View SourceDoubleAnimation()
Initializes a new instance of the DoubleAnimation class.
Declaration
public DoubleAnimation()
Fields
| Improve this Doc View SourceByProperty
Identifies the By dependency property.
Declaration
[NotImplemented]
public static readonly DependencyProperty ByProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
EasingFunctionProperty
Identifies the EasingFunction dependency property.
Declaration
public static readonly DependencyProperty EasingFunctionProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
FromProperty
Identifies the From dependency property.
Declaration
public static readonly DependencyProperty FromProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
ToProperty
Identifies the To dependency property.
Declaration
public static readonly DependencyProperty ToProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
| Improve this Doc View SourceBy
Gets or sets the total amount by which the animation changes its starting value.
Declaration
[NotImplemented]
public double? By { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> | The total amount by which the animation changes its starting value. The default is null. |
EasingFunction
Gets or sets the easing function applied to this animation.
Declaration
public IEasingFunction EasingFunction { get; set; }
Property Value
Type | Description |
---|---|
IEasingFunction | The easing function applied to this animation. |
From
Gets or sets the animation's starting value.
Declaration
public double? From { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> | The starting value of the animation. The default is null. |
To
Gets or sets the animation's ending value.
Declaration
public double? To { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> | The ending value of the animation. The default is null. |