Class LabelPositionAnimation
Animation used in the RadWatermarkTextBox to animate the position of its label element.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Controls.Animation
Assembly: Telerik.Windows.Controls.dll
Syntax
public class LabelPositionAnimation : RadDoubleAnimation
Constructors
LabelPositionAnimation()
Initializes a new instance of the LabelPositionAnimation class.
Declaration
public LabelPositionAnimation()
Methods
UpdateAnimationOverride(FrameworkElement, Storyboard, FrameworkElement, Object[])
Updates the animation.
Declaration
protected override void UpdateAnimationOverride(FrameworkElement control, Storyboard storyboard, FrameworkElement target, params object[] args)
Parameters
System.Windows.FrameworkElement
control
The control for which the animation needs to be updated. |
System.Windows.Media.Animation.Storyboard
storyboard
Storyboard that needs to be updated. |
System.Windows.FrameworkElement
target
The targeted element of the animation. |
System.Object[]
args
|
Overrides
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.