ClassMoveAnimationBase
This is the base class of the move X and move Y animations.
Definition
Namespace:Telerik.Core
Assembly:Telerik.WinUI.Controls.dll
Syntax:
public abstract class MoveAnimationBase : RadAnimation
Inheritance: objectRadAnimationMoveAnimationBase
Derived Classes:
Inherited Members
Constructors
MoveAnimationBase()
Initializes a new instance of the MoveAnimationBase class.
Declaration
protected MoveAnimationBase()
Properties
MiddlePointsAxis
Gets or sets the middle points.
Declaration
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
public MoveAnimationPointMode PointMode { get; set; }
Property Value
Methods
ApplyInitialValues(UIElement)
Sets the initial animation values to the provided target element.
Declaration
public override void ApplyInitialValues(UIElement target)
Parameters
target
UIElement
The target.
Overrides
CreateOpposite()
Creates a new instance of this animation that is the reverse of this instance.
Declaration
public override RadAnimation CreateOpposite()
Returns
A new instance of this animation that is the reverse of this instance.
Overrides
GetMoveArguments(double, double)
Gets an array of interleaved duration/value pairs for this move animation's keyframes.
Declaration
protected double[] GetMoveArguments(double startValue, double endValue)
Parameters
startValue
The value of the first frame.
endValue
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
protected abstract void SwapValues()