Show / Hide Table of Contents

Class DoubleAnimation

Animates the value of a System.Double property between two target values using linear interpolation over a specified Duration.

Inheritance
System.Object
DependencyObject
Timeline
AnimationTimeline
DoubleAnimation
Inherited Members
AnimationTimeline.GetNaturalDurationCore()
Timeline.Completed
Timeline.AutoReverseProperty
Timeline.AutoReverse
Timeline.BeginTimeProperty
Timeline.BeginTime
Timeline.DurationProperty
Timeline.Duration
Timeline.FillBehaviorProperty
Timeline.FillBehavior
Timeline.RepeatBehaviorProperty
Timeline.RepeatBehavior
Timeline.SpeedRatioProperty
Timeline.SpeedRatio
DependencyObject.GetValue(DependencyProperty)
DependencyObject.SetCurrentValue(DependencyProperty, Object)
DependencyObject.ReadLocalValue(DependencyProperty)
DependencyObject.SetValue(DependencyProperty, Object)
DependencyObject.SetValue(DependencyPropertyKey, Object)
DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs)
DependencyObject.CoerceValue(DependencyProperty)
DependencyObject.Dispatcher
DependencyObject.INTERNAL_OnAttachedToVisualTree()
DependencyObject.INTERNAL_OnDetachedFromVisualTree()
DependencyObject.ClearValue(DependencyProperty)
DependencyObject.ClearValue(DependencyPropertyKey)
DependencyObject.CheckAccess()
DependencyObject.GetAnimationBaseValue(DependencyProperty)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Media.Animation
Assembly: OpenSilver.dll
Syntax
public class DoubleAnimation : AnimationTimeline, IDependencyObject

Constructors

| Improve this Doc View Source

DoubleAnimation()

Initializes a new instance of the DoubleAnimation class.

Declaration
public DoubleAnimation()

Fields

| Improve this Doc View Source

ByProperty

Identifies the By dependency property.

Declaration
[NotImplemented]
public static readonly DependencyProperty ByProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

EasingFunctionProperty

Identifies the EasingFunction dependency property.

Declaration
public static readonly DependencyProperty EasingFunctionProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

FromProperty

Identifies the From dependency property.

Declaration
public static readonly DependencyProperty FromProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

ToProperty

Identifies the To dependency property.

Declaration
public static readonly DependencyProperty ToProperty
Field Value
Type Description
DependencyProperty

Properties

| Improve this Doc View Source

By

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

Extension Methods

DependencyObjectHelper.GetSelfAndAncestors(DependencyObject)
VisualTreeExtensions.GetVisualAncestors(DependencyObject)
VisualTreeExtensions.GetVisualAncestorsAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualChildren(DependencyObject)
VisualTreeExtensions.GetVisualChildrenAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualDescendants(DependencyObject)
VisualTreeExtensions.GetVisualDescendantsAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualSiblings(DependencyObject)
VisualTreeExtensions.GetVisualSiblingsAndSelf(DependencyObject)
  • Improve this Doc
  • View Source