Class
RadResizeWidthAnimation

This class represents a resize animation that animates the FrameworkElement.Width property.

Definition

Constructors

RadResizeWidthAnimation()

Declaration

cs-api-definition
public RadResizeWidthAnimation()

Properties

EndWidth

Gets or sets the final width of the animation target. If no value is applied current element width is used.

Declaration

cs-api-definition
public double? EndWidth { get; set; }

Property Value

double?

Height

Gets or sets a the height that will be applied to the animation target during this animation.

Declaration

cs-api-definition
public double? Height { get; set; }

Property Value

double?

StartWidth

Gets or sets the initial width. If no value is applied current element width is used.

Declaration

cs-api-definition
public double? StartWidth { get; set; }

Property Value

double?

Methods

ApplyAnimationValues(PlayAnimationInfo)

Applies already stored (if any) animated values.

Declaration

cs-api-definition
protected override void ApplyAnimationValues(PlayAnimationInfo info)

Parameters

info

PlayAnimationInfo

The animation info.

Overrides RadAnimation.ApplyAnimationValues(PlayAnimationInfo)

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

Overrides RadAnimation.ApplyInitialValues(UIElement)

ClearAnimation(UIElement)

Removes any property modifications, applied to the specified element by this instance.

Declaration

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

Parameters

target

UIElement

The element which property values are to be cleared.

Overrides RadAnimation.ClearAnimation(UIElement)

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

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()

UpdateAnimationOverride(AnimationContext)

Core update routine.

Declaration

cs-api-definition
protected override void UpdateAnimationOverride(AnimationContext context)

Parameters

context

AnimationContext

The context that holds information about the animation.

Overrides RadAnimation.UpdateAnimationOverride(AnimationContext)