Class
MoveAnimationBase

This is the base class of the move X and move Y animations.

Definition

Namespace:Telerik.Core

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public abstract class MoveAnimationBase : RadAnimation

Inheritance: objectRadAnimationMoveAnimationBase

Derived Classes: RadMoveXAnimationRadMoveYAnimation

Inherited Members RadAnimation.EmptyRadAnimation.Clone()RadAnimation.ClearAnimation(UIElement)RadAnimation.ApplyAnimationValues(PlayAnimationInfo)RadAnimation.OnStarted(PlayAnimationInfo)RadAnimation.CreateStoryboardOverride(UIElement)RadAnimation.CloneCore()RadAnimation.CopyAnimationValues(PlayAnimationInfo)RadAnimation.UpdateAnimationOverride(AnimationContext)RadAnimation.OnEnded(PlayAnimationInfo)RadAnimation.OnEnded()RadAnimation.EasingRadAnimation.DurationRadAnimation.InitialDelayRadAnimation.AnimationNameRadAnimation.FillBehaviorRadAnimation.SpeedRatioRadAnimation.AutoReverseRadAnimation.RepeatBehaviorRadAnimation.AnimationOriginRadAnimation.Ended

Constructors

MoveAnimationBase()

Initializes a new instance of the MoveAnimationBase class.

Declaration

cs-api-definition
protected MoveAnimationBase()

Properties

MiddlePointsAxis

Gets or sets the middle points.

Declaration

cs-api-definition
public DoubleKeyFrameCollection MiddlePointsAxis { get; set; }

Property Value

DoubleKeyFrameCollection

The middle points.

PointMode

Gets or sets a value that determines how the move animation's start and end points will be interpreted. Absolute means that they will be interpreted as pixels and Relative means that they will interpreted as points in the [-1, 1] range.

Declaration

cs-api-definition
public MoveAnimationPointMode PointMode { get; set; }

Property Value

MoveAnimationPointMode

Methods

ApplyInitialValues(UIElement)

Sets the initial animation values to the provided target element.

Declaration

cs-api-definition
public override void ApplyInitialValues(UIElement target)

Parameters

target

UIElement

The target.

Overrides RadAnimation.ApplyInitialValues(UIElement)

CreateOpposite()

Creates a new instance of this animation that is the reverse of this instance.

Declaration

cs-api-definition
public override RadAnimation CreateOpposite()

Returns

RadAnimation

A new instance of this animation that is the reverse of this instance.

Overrides RadAnimation.CreateOpposite()

GetMoveArguments(double, double)

Gets an array of interleaved duration/value pairs for this move animation's keyframes.

Declaration

cs-api-definition
protected double[] GetMoveArguments(double startValue, double endValue)

Parameters

startValue

double

The value of the first frame.

endValue

double

The value of the last frame.

Returns

double[]

Returns an array of interleaved duration/value pairs for this move animation's keyframes.

SwapValues()

This method must be overridden and is called when this move animation has to swap its start and end values. This is necessary when an opposite animation is created.

Declaration

cs-api-definition
protected abstract void SwapValues()