RadDoubleAnimation
Represents a double animation that transitions a specified property of a target element between a starting value and a target value. This class inherits from the OrientedAnimation and provides customization options for the animation duration, easing, and direction.
Definition
Namespace:Telerik.Windows.Controls.Animation
Assembly:Telerik.Windows.Controls.dll
Syntax:
public class RadDoubleAnimation : OrientedAnimation
Inheritance: objectRadAnimationBaseAnimationOrientedAnimationRadDoubleAnimation
Derived Classes:
Inherited Members
Constructors
public RadDoubleAnimation()
Properties
The name of the property that should be animated.
public string PropertyName { get; set; }
The starting value for the animation.
public double StartValue { get; set; }
The target value for the animation.
public double TargetValue { get; set; }
Methods
Creates the animation.
protected override Storyboard CreateAnimationOverride(FrameworkElement control, FrameworkElement target)
The control for which the animation is needed.
targetFrameworkElementThe targeted element of the animation.
Returns:Storyboard
The newly created animation.
Overrides:
Updates the animation.
protected override void UpdateAnimationOverride(FrameworkElement control, Storyboard storyboard, FrameworkElement target, params object[] args)
The control for which the animation needs to be updated.
storyboardStoryboardStoryboard that needs to be updated.
targetFrameworkElementThe targeted element of the animation.
argsobject[]Overrides:
Currently the method sets the SpeedRatio of the storyboard to the global AnimationSpeedRatio if the local SpeedRatio is null. If the local SpeedRatio value is set, it will be used.