New to Telerik UI for WinFormsStart a free 30-day trial

Definition

Namespace:Telerik.WinControls

Assembly:Telerik.WinControls.dll

Syntax:

C#
public class AnimatedPropertySetting : IPropertySetting

Inheritance: objectAnimatedPropertySetting

Derived Classes: LoopingAnimatedPropertySettingTreeAnimatedPropertySettingGridExpandAnimationFade.FadeAnimatedPropertySetting

Implements: IPropertySetting

Gets or sets the property that will be animated.

C#
public RadProperty Property { get; set; }

Implements: IPropertySetting.Property

Constructors

Initializes new instance of AnimatedPropertySetting

C#
public AnimatedPropertySetting()

Initializes new instance of AnimatedPropertySetting

C#
public AnimatedPropertySetting(RadProperty property, int frames, int interval, object step)
Parameters:propertyRadProperty

The property to animate.

framesint

The number of frames.

intervalint

The interval between animation frames.

stepobject

The step used to calculate the next value.

Initializes new instance of AnimatedPropertySetting

C#
public AnimatedPropertySetting(RadProperty property, object startValue, object endValue, int frames, int interval)
Parameters:propertyRadProperty

The property to animate.

startValueobject

The start value.

endValueobject

The end value.

framesint

The number of frames.

intervalint

The interval between animation frames.

Fields

C#
public bool IsStyleSetting

Properties

Static value indicating whether animations are enabled at global level.

C#
public static bool AnimationsEnabled { get; set; }

Gets or sets a value indicating the time delay before starting the animation.

C#
public int ApplyDelay { get; set; }

Gets or sets the easing to be used when applying animation values.

C#
public virtual RadEasingType ApplyEasingType { get; set; }

Gets or sets the end value for the animation.

C#
public object EndValue { get; set; }

Gets or sets the interval between animation frames.

C#
public int Interval { get; set; }

Gets or sets the maximum allowed value when using OutElastic mode

C#
public object MaxValue { get; set; }

Gets or sets the number of frames in which the animation will run.

C#
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.

C#
public int RandomDelay { get; set; }

Gets or sets a value that determines whether the animation value remains applied after the animation finishes.

C#
public bool RemoveAfterApply { get; set; }

Gets or sets the start value for the animation.

C#
public object StartValue { get; set; }

Gets or sets the step used when calculating the next value.

C#
public object Step { get; set; }

Methods

C#
public void AppendValue(RadObject element, RadProperty property, object startValue, object endValue, int frames, int interval)
Parameters:elementRadObjectpropertyRadPropertystartValueobjectendValueobjectframesintintervalint

Applies the value to the element given as a parameter.

C#
public void ApplyValue(RadObject element)
Parameters:elementRadObject

the element that the property value is applied to.

Implements: IPropertySetting.ApplyValue(RadObject)

C#
public void Cancel(RadObject element)
Parameters:elementRadObject

Retrieves the current value of the property.

C#
public object GetCurrentValue(RadObject radObject)
Parameters:radObjectRadObjectReturns:

object

Implements: IPropertySetting.GetCurrentValue(RadObject)

C#
public bool IsAnimating(RadObject element)
Parameters:elementRadObjectReturns:

bool

C#
protected virtual void OnAnimationFinished(AnimationStatusEventArgs e)
Parameters:eAnimationStatusEventArgs
C#
protected virtual void OnAnimationStarted(AnimationStatusEventArgs e)
Parameters:eAnimationStatusEventArgs
C#
public void Pause(RadObject element)
Parameters:elementRadObject
C#
public void Resume(RadObject element)
Parameters:elementRadObject
C#
public void Start(RadObject element)
Parameters:elementRadObject
C#
public void Stop(RadObject element)
Parameters:elementRadObject

Unapply the property to the element given as a parameter.

C#
public void UnapplyValue(RadObject element)
Parameters:elementRadObject

the element that the property value is unapplied to.

Implements: IPropertySetting.UnapplyValue(RadObject)

Events

Occurs when the animation finishes.

C#
public event AnimationFinishedEventHandler AnimationFinished

Occurs when the animation starts.

C#
public event AnimationStartedEventHandler AnimationStarted