Class AnimatedPropertySetting
Represets an animated property setting
Inheritance
Inherited Members
Namespace: Telerik.WinControls
Assembly: Telerik.WinControls.dll
Syntax
public class AnimatedPropertySetting : IPropertySetting
Constructors
AnimatedPropertySetting()
AnimatedPropertySetting(RadProperty, Int32, Int32, Object)
Initializes new instance of Animated
Declaration
public AnimatedPropertySetting(RadProperty property, int frames, int interval, object step)
Parameters
Rad The property to animate. |
System. The number of frames. |
System. The interval between animation frames. |
System. The step used to calculate the next value. |
AnimatedPropertySetting(RadProperty, Object, Object, Int32, Int32)
Initializes new instance of Animated
Declaration
public AnimatedPropertySetting(RadProperty property, object startValue, object endValue, int frames, int interval)
Parameters
Rad The property to animate. |
System. The start value. |
System. The end value. |
System. The number of frames. |
System. The interval between animation frames. |
Fields
IsStyleSetting
Declaration
public bool IsStyleSetting
Field Value
System.
|
Properties
AnimationsEnabled
Static value indicating whether animations are enabled at global level.
Declaration
public static bool AnimationsEnabled { get; set; }
Property Value
System.
|
ApplyDelay
Gets or sets a value indicating the time delay before starting the animation.
Declaration
public int ApplyDelay { get; set; }
Property Value
System.
|
ApplyEasingType
Gets or sets the easing to be used when applying animation values.
Declaration
public RadEasingType ApplyEasingType { get; set; }
Property Value
EndValue
Gets or sets the end value for the animation.
Declaration
public object EndValue { get; set; }
Property Value
System.
|
Interval
Gets or sets the interval between animation frames.
Declaration
public int Interval { get; set; }
Property Value
System.
|
MaxValue
Gets or sets the maximum allowed value when using OutElastic mode
Declaration
public object MaxValue { get; set; }
Property Value
System.
|
NumFrames
Gets or sets the number of frames in which the animation will run.
Declaration
public int NumFrames { get; set; }
Property Value
System.
|
Property
Gets or sets the property that will be animated.
Declaration
public RadProperty Property { get; set; }
Property Value
Implements
RandomDelay
Gets or sets a value indicating whether to set a random delay before starting the animation. The random delay applies if the value of this property is different from 0.
Declaration
public int RandomDelay { get; set; }
Property Value
System.
|
RemoveAfterApply
Gets or sets a value that determines whether the animation value remains applied after the animation finishes.
Declaration
public bool RemoveAfterApply { get; set; }
Property Value
System.
|
StartValue
Gets or sets the start value for the animation.
Declaration
public object StartValue { get; set; }
Property Value
System.
|
Step
Gets or sets the step used when calculating the next value.
Declaration
public object Step { get; set; }
Property Value
System.
|
Methods
AppendValue(RadObject, RadProperty, Object, Object, Int32, Int32)
Declaration
public void AppendValue(RadObject element, RadProperty property, object startValue, object endValue, int frames, int interval)
Parameters
Rad
|
Rad
|
System.
|
System.
|
System.
|
System.
|
ApplyValue(RadObject)
Cancel(RadObject)
GetCurrentValue(RadObject)
Declaration
public object GetCurrentValue(RadObject radObject)
Parameters
Rad
|
Returns
System.
|
Implements
IsAnimating(RadObject)
Declaration
public bool IsAnimating(RadObject element)
Parameters
Rad
|
Returns
System.
|
OnAnimationFinished(AnimationStatusEventArgs)
Declaration
protected virtual void OnAnimationFinished(AnimationStatusEventArgs e)
Parameters
OnAnimationStarted(AnimationStatusEventArgs)
Declaration
protected virtual void OnAnimationStarted(AnimationStatusEventArgs e)
Parameters
Pause(RadObject)
Resume(RadObject)
Start(RadObject)
Stop(RadObject)
UnapplyValue(RadObject)
Events
AnimationFinished
Occurs when the animation finishes.
Declaration
public event AnimationFinishedEventHandler AnimationFinished
Event Type
AnimationStarted
Occurs when the animation starts.
Declaration
public event AnimationStartedEventHandler AnimationStarted