Class
RadResizeHeightAnimation

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

Definition

Constructors

RadResizeHeightAnimation()

Declaration

cs-api-definition
public RadResizeHeightAnimation()

Properties

EndHeight

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

Declaration

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

Property Value

double?

StartHeight

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

Declaration

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

Property Value

double?

Width

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

Declaration

cs-api-definition
public double? Width { 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

The target.

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)