ClassElementValuesAnimator
Animates element property values using configurable animation settings and easing functions.
Definition
Namespace:Telerik.WinControls
Assembly:Telerik.WinControls.dll
Syntax:
public class ElementValuesAnimator : IDisposable
Inheritance: objectElementValuesAnimator
Implements:
Constructors
ElementValuesAnimator(RadObject, AnimatedPropertySetting)
Initializes a new instance of the ElementValuesAnimator class.
Declaration
public ElementValuesAnimator(RadObject element, AnimatedPropertySetting setting)
Parameters
element
The RadObject element to animate.
setting
The animation settings for the property.
Properties
IsRunning
Gets a value indicating whether the animation is currently running.
Declaration
public bool IsRunning { get; }
Property Value
true if the animation is running; otherwise, false.
Value
Gets or sets the current animated value.
Declaration
public object Value { get; set; }
Property Value
The current value of the animated property.
Methods
Dispose()
Releases all resources used by the ElementValuesAnimator.
Declaration
public void Dispose()
Implements
Initialize(RadObject, object)
Initializes the animator with the element and initial value.
Pause(RadObject)
Pauses the animation temporarily.
Declaration
public void Pause(RadObject element)
Parameters
element
The element to pause animation for.
Resume(RadObject)
Resumes a paused animation.
Declaration
public void Resume(RadObject element)
Parameters
element
The element to resume animation for.
Start(RadObject)
Starts the animation for the specified element.
Declaration
public void Start(RadObject element)
Parameters
element
The element to animate.
Stop()
Stops the animation and applies the final value.
Declaration
public void Stop()
UpdateValue()
Updates the animated property value for the current frame.
Declaration
protected virtual void UpdateValue()