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

Animation Selector, used for easier definition of animations in xaml.

Definition

Namespace:Telerik.Windows.Controls.Animation

Assembly:Telerik.Windows.Controls.dll

Syntax:

C#
public class AnimationSelector : AnimationSelectorBase

Inheritance: objectAnimationSelectorBaseAnimationSelector

Constructors

Initializes a new instance of the AnimationSelector class.

C#
public AnimationSelector()

Properties

Gets the list of animations in that this selector will choose from.

C#
public IList Animations { get; }

Methods

Selects an animation based on its AnimationName.

C#
public override RadAnimation SelectAnimation(FrameworkElement control, string name)
Parameters:controlFrameworkElement

The control the animation is needed for.

namestring

The name of the animation. Often it is a change of state, result of a user action.

Returns:

RadAnimation

The RadAnimation object.

Overrides: AnimationSelectorBase.SelectAnimation(FrameworkElement, string)

Remarks:

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