ClassLoopingAnimatedPropertySetting
Provides a property animation setting that supports looping animations with configurable easing types and frame counts for two animation phases.
Definition
Namespace:Telerik.WinControls
Assembly:Telerik.WinControls.dll
Syntax:
public class LoopingAnimatedPropertySetting : AnimatedPropertySetting, IPropertySetting
Inheritance: objectAnimatedPropertySettingLoopingAnimatedPropertySetting
Implements:
Inherited Members
Constructors
LoopingAnimatedPropertySetting(RadProperty, object, object, int, int, RadEasingType, int, RadEasingType)
Initializes a new instance of the LoopingAnimatedPropertySetting class with specified property, value range, animation intervals, frame counts, and easing types for two animation phases.
Declaration
public LoopingAnimatedPropertySetting(RadProperty property, object startValue, object endValue, int interval, int firstPhaseNumFrames, RadEasingType firstPhaseAnimationType, int secondPhaseFrames, RadEasingType secondPhaseAnimationType)
Parameters
property
The RadProperty to be animated.
startValue
The starting value of the animation.
endValue
The ending value of the animation.
interval
The interval between animation frames in milliseconds.
firstPhaseNumFrames
The number of frames in the first animation phase.
firstPhaseAnimationType
The easing type used in the first animation phase.
secondPhaseFrames
The number of frames in the second animation phase.
secondPhaseAnimationType
The easing type used in the second animation phase.
Properties
FirstPhaseEasingType
Gets or sets the easing type for the first phase of the looping animation.
Declaration
public RadEasingType FirstPhaseEasingType { get; set; }
Property Value
FirstPhaseNumFrames
Gets or sets the number of frames for the first phase of the looping animation.
SecondPhaseEasingType
Gets or sets the easing type for the second phase of the looping animation.
Declaration
public RadEasingType SecondPhaseEasingType { get; set; }
Property Value
SecondPhaseNumFrames
Gets or sets the number of frames for the second phase of the looping animation.
Methods
OnAnimationFinished(AnimationStatusEventArgs)
Handles the completion of an animation by swapping start and end values and continuing the loop if looping is enabled and a current element exists.
Declaration
protected override void OnAnimationFinished(AnimationStatusEventArgs e)
Parameters
e
Provides data for the animation status event.
Overrides
StartLoop(RadObject)
Starts the looping animation.
StopLoop(RadObject)
Stops the looping animation.