Telerik UI for Windows Phone by Progress

Selects an animation based on its AnimationName.

Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Core (in Telerik.Windows.Core.dll) Version: 2013.1.422.2040 (2013.1.0422.2040)

Syntax

C#
public override RadAnimation SelectAnimation(
	UIElement control,
	string name
)
Visual Basic
Public Overrides Function SelectAnimation ( _
	control As UIElement, _
	name As String _
) As RadAnimation
Visual C++
public:
virtual RadAnimation^ SelectAnimation(
	UIElement^ control, 
	String^ name
) override

Parameters

control
Type: System.Windows..::..UIElement
The control the animation is needed for.
name
Type: System..::..String
The name of the animation. Often it is a change of state, result of a user action.

Return Value

The RadAnimation object.

Remarks

The AnimationSelector will return the animation with matching name from its Animations list.

See Also