ClassRadAnimationSelector
Class
Animation Selector, used for easier definition of animations in XAML.
Definition
Namespace:Telerik.Core
Assembly:Telerik.WinUI.Controls.dll
Syntax:
cs-api-definition
public class RadAnimationSelector : AnimationSelectorBase
Inheritance: objectAnimationSelectorBaseRadAnimationSelector
Constructors
RadAnimationSelector()
Initializes a new instance of the RadAnimationSelector class.
Declaration
cs-api-definition
public RadAnimationSelector()
Properties
Animations
Gets the list of animations in that this selector will choose from.
Declaration
cs-api-definition
public List<RadAnimation> Animations { get; }
Property Value
Methods
SelectAnimation(UIElement, string)
Selects an animation based on its AnimationName.
Declaration
cs-api-definition
public override RadAnimation SelectAnimation(UIElement control, string name)
Parameters
control
UIElement
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.