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

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

Definition

Constructors

Initializes a new instance of the LabelPositionAnimation class.

C#
public LabelPositionAnimation()

Methods

Updates the animation.

C#
protected override void UpdateAnimationOverride(FrameworkElement control, Storyboard storyboard, FrameworkElement target, params object[] args)
Parameters:controlFrameworkElement

The control for which the animation needs to be updated.

storyboardStoryboard

Storyboard that needs to be updated.

targetFrameworkElement

The targeted element of the animation.

argsobject[]

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.