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