Class
PlayAnimationInfo

Encapsulates information for an RadAnimationManager.Play pass.

Definition

Namespace:Telerik.Core

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public class PlayAnimationInfo

Inheritance: objectPlayAnimationInfo

Constructors

PlayAnimationInfo(Storyboard, RadAnimation, UIElement)

Initializes a new instance of the PlayAnimationInfo class.

Declaration

cs-api-definition
public PlayAnimationInfo(Storyboard storyboard, RadAnimation animation, UIElement target)

Parameters

storyboard

Storyboard

The storyboard.

animation

RadAnimation

The animation.

target

UIElement

The target.

Properties

Animation

Gets the RadAnimation instance associated with this play pass.

Declaration

cs-api-definition
public RadAnimation Animation { get; }

Property Value

RadAnimation

Storyboard

Gets the Storyboard instance associated with this play pass.

Declaration

cs-api-definition
public Storyboard Storyboard { get; }

Property Value

Storyboard

Target

Gets the FrameworkElement instance associated with this play pass.

Declaration

cs-api-definition
public UIElement Target { get; }

Property Value

UIElement

Methods

GetAnimatedValues(RadAnimation)

Gets previously stored array of values for the specified animation.

Declaration

cs-api-definition
public object[] GetAnimatedValues(RadAnimation targetAnimation)

Parameters

targetAnimation

RadAnimation

The animation which values are to be retrieved.

Returns

object[]

An array of values, stored by the specified animation.

SetAnimatedValues(RadAnimation, object[])

Records an array of values for the specified animation.

Declaration

cs-api-definition
public void SetAnimatedValues(RadAnimation targetAnimation, object[] values)

Parameters

targetAnimation

RadAnimation

The animation which provides the values.

values

object[]

The values to be stored.