Class
LabelPositionAnimation

Animation used in the RadWatermarkTextBox to animate the position of its label element.

Definition

Namespace:Telerik.Windows.Controls.Animation

Assembly:Telerik.Windows.Controls.dll

Syntax:

cs-api-definition
public class LabelPositionAnimation : RadDoubleAnimation

Inheritance: objectRadAnimationBaseAnimationOrientedAnimationRadDoubleAnimationLabelPositionAnimation

Inherited Members RadDoubleAnimation.CreateAnimationOverride(FrameworkElement, FrameworkElement)RadDoubleAnimation.StartValueRadDoubleAnimation.TargetValueRadDoubleAnimation.PropertyNameOrientedAnimation.GetValueDependingOnDirection<T>(T, T)OrientedAnimation.DirectionBaseAnimation.CreateAnimation(FrameworkElement)BaseAnimation.UpdateAnimation(FrameworkElement, Storyboard, params object[])BaseAnimation.EasingBaseAnimation.DurationBaseAnimation.TargetElementNameRadAnimation.AnimationNameRadAnimation.RepeatBehaviorRadAnimation.SpeedRatio

Constructors

LabelPositionAnimation()

Initializes a new instance of the LabelPositionAnimation class.

Declaration

cs-api-definition
public LabelPositionAnimation()

Methods

UpdateAnimationOverride(FrameworkElement, Storyboard, FrameworkElement, params object[])

Updates the animation.

Declaration

cs-api-definition
protected override void UpdateAnimationOverride(FrameworkElement control, Storyboard storyboard, FrameworkElement target, params object[] args)

Parameters

control

FrameworkElement

The control for which the animation needs to be updated.

storyboard

Storyboard

Storyboard that needs to be updated.

target

FrameworkElement

The targeted element of the animation.

args

object[]

Overrides RadDoubleAnimation.UpdateAnimationOverride(FrameworkElement, Storyboard, FrameworkElement, params object[])

Remarks

Currently the method sets the SpeedRatio of the storyboard to the global AnimationSpeedRatio if the local SpeedRatio is null. If the local SpeedRatio value is set, it will be used.