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 AnimatedPropertySetting
Declaration
public AnimatedPropertySetting(RadProperty property, int frames, int interval, object step)
Parameters
RadProperty
property
The property to animate. |
System.Int32
frames
The number of frames. |
System.Int32
interval
The interval between animation frames. |
System.Object
step
The step used to calculate the next value. |
AnimatedPropertySetting(RadProperty, Object, Object, Int32, Int32)
Initializes new instance of AnimatedPropertySetting
Declaration
public AnimatedPropertySetting(RadProperty property, object startValue, object endValue, int frames, int interval)
Parameters
RadProperty
property
The property to animate. |
System.Object
startValue
The start value. |
System.Object
endValue
The end value. |
System.Int32
frames
The number of frames. |
System.Int32
interval
The interval between animation frames. |
Fields
IsStyleSetting
Declaration
public bool IsStyleSetting
Field Value
System.Boolean
|
Properties
AnimationsEnabled
Static value indicating whether animations are enabled at global level.
Declaration
public static bool AnimationsEnabled { get; set; }
Property Value
System.Boolean
|
ApplyDelay
Gets or sets a value indicating the time delay before starting the animation.
Declaration
public int ApplyDelay { get; set; }
Property Value
System.Int32
|
ApplyEasingType
Gets or sets the easing to be used when applying animation values.
Declaration
public RadEasingType ApplyEasingType { get; set; }
Property Value
RadEasingType
|
EndValue
Gets or sets the end value for the animation.
Declaration
public object EndValue { get; set; }
Property Value
System.Object
|
Interval
Gets or sets the interval between animation frames.
Declaration
public int Interval { get; set; }
Property Value
System.Int32
|
MaxValue
Gets or sets the maximum allowed value when using OutElastic mode
Declaration
public object MaxValue { get; set; }
Property Value
System.Object
|
NumFrames
Gets or sets the number of frames in which the animation will run.
Declaration
public int NumFrames { get; set; }
Property Value
System.Int32
|
Property
Gets or sets the property that will be animated.
Declaration
public RadProperty Property { get; set; }
Property Value
RadProperty
|
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.Int32
|
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.Boolean
|
StartValue
Gets or sets the start value for the animation.
Declaration
public object StartValue { get; set; }
Property Value
System.Object
|
Step
Gets or sets the step used when calculating the next value.
Declaration
public object Step { get; set; }
Property Value
System.Object
|
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
RadObject
element
|
RadProperty
property
|
System.Object
startValue
|
System.Object
endValue
|
System.Int32
frames
|
System.Int32
interval
|
ApplyValue(RadObject)
Cancel(RadObject)
GetCurrentValue(RadObject)
Declaration
public object GetCurrentValue(RadObject radObject)
Parameters
RadObject
radObject
|
Returns
System.Object
|
Implements
IsAnimating(RadObject)
Declaration
public bool IsAnimating(RadObject element)
Parameters
RadObject
element
|
Returns
System.Boolean
|
OnAnimationFinished(AnimationStatusEventArgs)
Declaration
protected virtual void OnAnimationFinished(AnimationStatusEventArgs e)
Parameters
AnimationStatusEventArgs
e
|
OnAnimationStarted(AnimationStatusEventArgs)
Declaration
protected virtual void OnAnimationStarted(AnimationStatusEventArgs e)
Parameters
AnimationStatusEventArgs
e
|
Pause(RadObject)
Resume(RadObject)
Start(RadObject)
Stop(RadObject)
UnapplyValue(RadObject)
Events
AnimationFinished
Occurs when the animation finishes.
Declaration
public event AnimationFinishedEventHandler AnimationFinished
Event Type
AnimationFinishedEventHandler
|
AnimationStarted
Occurs when the animation starts.
Declaration
public event AnimationStartedEventHandler AnimationStarted
Event Type
AnimationStartedEventHandler
|