Click or drag to resize
RadAnimationUpdateAnimation Method
When overridden in a derived class this method updates the animation before it is played.

Namespace: Telerik.Windows.Controls.Animation
Assembly: Telerik.Windows.Controls (in Telerik.Windows.Controls.dll) Version: 2017.3.1018.40 (2017.3.1018.40)
Syntax
public virtual void UpdateAnimation(
	FrameworkElement control,
	Storyboard storyboard,
	params Object[] args
)

Parameters

control
Type: System.WindowsFrameworkElement
The control for which the animation needs to be updated.
storyboard
Type: System.Windows.Media.AnimationStoryboard
Storyboard that needs to be updated.
args
Type: SystemObject
A set of arguments used for animation creation.
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.

See Also