ClassAnimationSelector
Class
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.
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
The name of the animation. Often it is a change of state, result of a user action.
Returns
The RadAnimation object.
Overrides
Remarks
The AnimationSelector will return the animation with matching name from its Animations list.