Class
AnimatedPropertySetting

Represents an animated property setting

Definition

Namespace:Telerik.WinControls

Assembly:Telerik.WinControls.dll

Syntax:

cs-api-definition
public class AnimatedPropertySetting : IPropertySetting

Inheritance: objectAnimatedPropertySetting

Derived Classes: LoopingAnimatedPropertySettingTreeAnimatedPropertySettingGridExpandAnimationFade.FadeAnimatedPropertySetting

Implements: IPropertySetting

Constructors

AnimatedPropertySetting()

Initializes new instance of AnimatedPropertySetting

Declaration

cs-api-definition
public AnimatedPropertySetting()

AnimatedPropertySetting(RadProperty, int, int, object)

Initializes new instance of AnimatedPropertySetting

Declaration

cs-api-definition
public AnimatedPropertySetting(RadProperty property, int frames, int interval, object step)

Parameters

property

RadProperty

The property to animate.

frames

int

The number of frames.

interval

int

The interval between animation frames.

step

object

The step used to calculate the next value.

AnimatedPropertySetting(RadProperty, object, object, int, int)

Initializes new instance of AnimatedPropertySetting

Declaration

cs-api-definition
public AnimatedPropertySetting(RadProperty property, object startValue, object endValue, int frames, int interval)

Parameters

property

RadProperty

The property to animate.

startValue

object

The start value.

endValue

object

The end value.

frames

int

The number of frames.

interval

int

The interval between animation frames.

Fields

IsStyleSetting

Declaration

cs-api-definition
public bool IsStyleSetting

Field Value

bool

Properties

AnimationsEnabled

Static value indicating whether animations are enabled at global level.

Declaration

cs-api-definition
public static bool AnimationsEnabled { get; set; }

Property Value

bool

ApplyDelay

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

Declaration

cs-api-definition
public int ApplyDelay { get; set; }

Property Value

int

ApplyEasingType

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

Declaration

cs-api-definition
public virtual RadEasingType ApplyEasingType { get; set; }

Property Value

RadEasingType

EndValue

Gets or sets the end value for the animation.

Declaration

cs-api-definition
public object EndValue { get; set; }

Property Value

object

Interval

Gets or sets the interval between animation frames.

Declaration

cs-api-definition
public int Interval { get; set; }

Property Value

int

MaxValue

Gets or sets the maximum allowed value when using OutElastic mode

Declaration

cs-api-definition
public object MaxValue { get; set; }

Property Value

object

NumFrames

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

Declaration

cs-api-definition
public virtual int NumFrames { get; set; }

Property Value

int

Property

Gets or sets the property that will be animated.

Declaration

cs-api-definition
public RadProperty Property { get; set; }

Property Value

RadProperty

Implements IPropertySetting.Property

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

cs-api-definition
public int RandomDelay { get; set; }

Property Value

int

RemoveAfterApply

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

Declaration

cs-api-definition
public bool RemoveAfterApply { get; set; }

Property Value

bool

StartValue

Gets or sets the start value for the animation.

Declaration

cs-api-definition
public object StartValue { get; set; }

Property Value

object

Step

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

Declaration

cs-api-definition
public object Step { get; set; }

Property Value

object

Methods

AppendValue(RadObject, RadProperty, object, object, int, int)

Declaration

cs-api-definition
public void AppendValue(RadObject element, RadProperty property, object startValue, object endValue, int frames, int interval)

Parameters

element

RadObject

property

RadProperty

startValue

object

endValue

object

frames

int

interval

int

ApplyValue(RadObject)

Applies the value to the element given as a parameter.

Declaration

cs-api-definition
public void ApplyValue(RadObject element)

Parameters

element

RadObject

the element that the property value is applied to.

Implements IPropertySetting.ApplyValue(RadObject)

Cancel(RadObject)

Declaration

cs-api-definition
public void Cancel(RadObject element)

Parameters

element

RadObject

GetCurrentValue(RadObject)

Retrieves the current value of the property.

Declaration

cs-api-definition
public object GetCurrentValue(RadObject radObject)

Parameters

radObject

RadObject

Returns

object

Implements IPropertySetting.GetCurrentValue(RadObject)

IsAnimating(RadObject)

Declaration

cs-api-definition
public bool IsAnimating(RadObject element)

Parameters

element

RadObject

Returns

bool

OnAnimationFinished(AnimationStatusEventArgs)

Declaration

cs-api-definition
protected virtual void OnAnimationFinished(AnimationStatusEventArgs e)

Parameters

e

AnimationStatusEventArgs

OnAnimationStarted(AnimationStatusEventArgs)

Declaration

cs-api-definition
protected virtual void OnAnimationStarted(AnimationStatusEventArgs e)

Parameters

e

AnimationStatusEventArgs

Pause(RadObject)

Declaration

cs-api-definition
public void Pause(RadObject element)

Parameters

element

RadObject

Resume(RadObject)

Declaration

cs-api-definition
public void Resume(RadObject element)

Parameters

element

RadObject

Start(RadObject)

Declaration

cs-api-definition
public void Start(RadObject element)

Parameters

element

RadObject

Stop(RadObject)

Declaration

cs-api-definition
public void Stop(RadObject element)

Parameters

element

RadObject

UnapplyValue(RadObject)

Unapply the property to the element given as a parameter.

Declaration

cs-api-definition
public void UnapplyValue(RadObject element)

Parameters

element

RadObject

the element that the property value is unapplied to.

Implements IPropertySetting.UnapplyValue(RadObject)

Events

AnimationFinished

Occurs when the animation finishes.

Declaration

cs-api-definition
public event AnimationFinishedEventHandler AnimationFinished

Event Value

AnimationFinishedEventHandler

AnimationStarted

Occurs when the animation starts.

Declaration

cs-api-definition
public event AnimationStartedEventHandler AnimationStarted

Event Value

AnimationStartedEventHandler