Definition
Namespace:Telerik.WinControls
Assembly:Telerik.WinControls.dll
Syntax:
public class AnimatedPropertySetting : IPropertySetting
Inheritance: objectAnimatedPropertySetting
Derived Classes:
Implements:
Gets or sets the property that will be animated.
public RadProperty Property { get; set; }
Implements:
Constructors
Initializes new instance of AnimatedPropertySetting
public AnimatedPropertySetting()
Initializes new instance of AnimatedPropertySetting
public AnimatedPropertySetting(RadProperty property, int frames, int interval, object step)
The property to animate.
framesintThe number of frames.
intervalintThe interval between animation frames.
stepobjectThe step used to calculate the next value.
Initializes new instance of AnimatedPropertySetting
public AnimatedPropertySetting(RadProperty property, object startValue, object endValue, int frames, int interval)
The property to animate.
startValueobjectThe start value.
endValueobjectThe end value.
framesintThe number of frames.
intervalintThe interval between animation frames.
Fields
public bool IsStyleSetting
Properties
Static value indicating whether animations are enabled at global level.
public static bool AnimationsEnabled { get; set; }
Gets or sets a value indicating the time delay before starting the animation.
public int ApplyDelay { get; set; }
Gets or sets the easing to be used when applying animation values.
public virtual RadEasingType ApplyEasingType { get; set; }
Gets or sets the maximum allowed value when using OutElastic mode
public object MaxValue { get; set; }
Gets or sets the number of frames in which the animation will run.
public virtual int NumFrames { get; set; }
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.
public int RandomDelay { get; set; }
Gets or sets a value that determines whether the animation value remains applied after the animation finishes.
public bool RemoveAfterApply { get; set; }
Gets or sets the start value for the animation.
public object StartValue { get; set; }
Methods
Applies the value to the element given as a parameter.
public void ApplyValue(RadObject element)
the element that the property value is applied to.
Implements:
protected virtual void OnAnimationFinished(AnimationStatusEventArgs e)
protected virtual void OnAnimationStarted(AnimationStatusEventArgs e)
Unapply the property to the element given as a parameter.
public void UnapplyValue(RadObject element)
the element that the property value is unapplied to.
Implements:
Events
Occurs when the animation finishes.
public event AnimationFinishedEventHandler AnimationFinished
Occurs when the animation starts.
public event AnimationStartedEventHandler AnimationStarted