Class ElementValuesAnimator
Animates element property values using configurable animation settings and easing functions.
Inheritance
Inherited Members
Namespace: Telerik.WinControls
Assembly: Telerik.WinControls.dll
Syntax
public class ElementValuesAnimator : IDisposable
Constructors
ElementValuesAnimator(RadObject, AnimatedPropertySetting)
Initializes a new instance of the ElementValuesAnimator class.
Declaration
public ElementValuesAnimator(RadObject element, AnimatedPropertySetting setting)
Parameters
RadObject
element
The RadObject element to animate. |
AnimatedPropertySetting
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
System.Boolean
|
Value
Gets or sets the current animated value.
Declaration
public object Value { get; set; }
Property Value
System.Object
The current value of the animated property. |
Waiting
Gets or sets a value indicating whether the animator is waiting.
Declaration
public bool Waiting { get; set; }
Property Value
System.Boolean
|
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.
Declaration
public void Initialize(RadObject element, object initialValue)
Parameters
RadObject
element
The element to animate. |
System.Object
initialValue
The initial value of the property. |
Pause(RadObject)
Pauses the animation temporarily.
Declaration
public void Pause(RadObject element)
Parameters
RadObject
element
The element to pause animation for. |
Resume(RadObject)
Resumes a paused animation.
Declaration
public void Resume(RadObject element)
Parameters
RadObject
element
The element to resume animation for. |
Start(RadObject)
Starts the animation for the specified element.
Declaration
public void Start(RadObject element)
Parameters
RadObject
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()