Class GenericDoubleAnimation
Double Animation
Inheritance
System.Object
GenericDoubleAnimation
Namespace: Syncfusion.Windows.Shared
Assembly: Syncfusion.Shared.Wpf.dll
Syntax
public class GenericDoubleAnimation : DoubleAnimationBase
Constructors
GenericDoubleAnimation()
Initializes a new instance of the GenericDoubleAnimation class.
Declaration
public GenericDoubleAnimation()
Fields
FromProperty
From value for animation
Declaration
public static readonly DependencyProperty FromProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
StepValueProviderProperty
StepValue provider for animation
Declaration
public static readonly DependencyProperty StepValueProviderProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
ToProperty
To Value for animation
Declaration
public static readonly DependencyProperty ToProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Properties
From
Gets or sets from value for the animation.
Declaration
public double From { get; set; }
Property Value
Type | Description |
---|---|
System.Double | From value. |
StepValueProvider
Gets or sets the Step value for the animation
Declaration
public IDoubleAnimationStepValueProvider StepValueProvider { get; set; }
Property Value
Type | Description |
---|---|
IDoubleAnimationStepValueProvider | The step value provider. |
To
Gets or sets Ending value for the animation.
Declaration
public double To { get; set; }
Property Value
Type | Description |
---|---|
System.Double | Ending value for the animation. |
Methods
CreateInstanceCore()
When implemented in a derived class, creates a new instance of the System.Windows.Freezable derived class.
Declaration
protected override Freezable CreateInstanceCore()
Returns
Type | Description |
---|---|
System.Windows.Freezable | The new instance. |
GetCurrentValueCore(Double, Double, AnimationClock)
Gets the current value core.
Declaration
protected override double GetCurrentValueCore(double startValue, double targetValue, AnimationClock clock)
Parameters
Type | Name | Description |
---|---|---|
System.Double | startValue | The start value. |
System.Double | targetValue | The target value. |
System.Windows.Media.Animation.AnimationClock | clock | The clock. |
Returns
Type | Description |
---|---|
System.Double | Return the current step value |