ClassRadDoubleAnimation
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
RadDoubleAnimation()
Declaration
public RadDoubleAnimation()
Properties
PropertyName
The name of the property that should be animated.
StartValue
The starting value for the animation.
TargetValue
The target value for the animation.
Methods
CreateAnimationOverride(FrameworkElement, FrameworkElement)
Creates the animation.
Declaration
protected override Storyboard CreateAnimationOverride(FrameworkElement control, FrameworkElement target)
Parameters
control
FrameworkElement
The control for which the animation is needed.
target
FrameworkElement
The targeted element of the animation.
Returns
Storyboard
The newly created animation.
Overrides
UpdateAnimationOverride(FrameworkElement, Storyboard, FrameworkElement, params object[])
Updates the animation.
Declaration
protected override void UpdateAnimationOverride(FrameworkElement control, Storyboard storyboard, FrameworkElement target, params object[] args)
Parameters
control
FrameworkElement
The control for which the animation needs to be updated.
storyboard
Storyboard
Storyboard that needs to be updated.
target
FrameworkElement
The targeted element of the animation.
args
object[]
Overrides
Remarks
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.