ClassRadResizeWidthAnimation
This class represents a resize animation that animates the FrameworkElement.Width property.
Definition
Namespace:Telerik.Core
Assembly:Telerik.WinUI.Controls.dll
Syntax:
public class RadResizeWidthAnimation : RadAnimation
Inheritance: objectRadAnimationRadResizeWidthAnimation
Inherited Members
Constructors
RadResizeWidthAnimation()
Declaration
public RadResizeWidthAnimation()
Properties
EndWidth
Gets or sets the final width of the animation target. If no value is applied current element width is used.
Height
Gets or sets a the height that will be applied to the animation target during this animation.
StartWidth
Gets or sets the initial width. If no value is applied current element width is used.
Methods
ApplyAnimationValues(PlayAnimationInfo)
Applies already stored (if any) animated values.
Declaration
protected override void ApplyAnimationValues(PlayAnimationInfo info)
Parameters
info
The animation info.
Overrides
ApplyInitialValues(UIElement)
Sets the initial animation values to the provided target element.
Declaration
public override void ApplyInitialValues(UIElement target)
Parameters
target
UIElement
Overrides
ClearAnimation(UIElement)
Removes any property modifications, applied to the specified element by this instance.
Declaration
public override void ClearAnimation(UIElement target)
Parameters
target
UIElement
The element which property values are to be cleared.
Overrides
Remarks
It is assumed that the element has been previously animated by this animation.
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
UpdateAnimationOverride(AnimationContext)
Core update routine.
Declaration
protected override void UpdateAnimationOverride(AnimationContext context)
Parameters
context
The context that holds information about the animation.
Overrides