Class
RadAnimationSelector

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

List<RadAnimation>

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

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(UIElement, string)

Remarks

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