Click or drag to resize
AnimationManagerPlay Method (FrameworkElement, String, Action, Boolean, Object)
Plays an animation for the given control and invokes the callback on completion.

Namespace: Telerik.Windows.Controls.Animation
Assembly: Telerik.Windows.Controls (in Telerik.Windows.Controls.dll) Version: 2017.3.1018.40 (2017.3.1018.40)
Syntax
public static bool Play(
	FrameworkElement target,
	string animationName,
	Action completeCallback,
	bool animateSelf,
	params Object[] args
)

Parameters

target
Type: System.WindowsFrameworkElement
The control for which to play the animation.
animationName
Type: SystemString
The name of the animation.
completeCallback
Type: SystemAction
The callback to be called. The callback is always called.
animateSelf
Type: SystemBoolean
Specify if animation is applied on the target. If false, animation is applied on a child of target.
args
Type: SystemObject
Optional parameters for the animation, can be provided by the control.

Return Value

Type: Boolean
True if an animation actually played, false otherwise.
See Also