Class
AnimationSelector

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

Definition

Namespace:Telerik.Windows.Controls.Animation

Assembly:Telerik.Windows.Controls.dll

Syntax:

cs-api-definition
public class AnimationSelector : AnimationSelectorBase

Inheritance: objectAnimationSelectorBaseAnimationSelector

Constructors

AnimationSelector()

Initializes a new instance of the AnimationSelector class.

Declaration

cs-api-definition
public AnimationSelector()

Properties

Animations

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

Declaration

cs-api-definition
public IList Animations { get; }

Property Value

IList

Methods

SelectAnimation(FrameworkElement, string)

Selects an animation based on its AnimationName.

Declaration

cs-api-definition
public override RadAnimation SelectAnimation(FrameworkElement control, string name)

Parameters

control

FrameworkElement

The control the animation is needed for.

name

string

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.