Class
RevealAnimation

Reveal animation for expanding the element's visibility from left to right or from top to bottom and vice versa.

Definition

Constructors

RevealAnimation()

Declaration

cs-api-definition
public RevealAnimation()

Properties

AnimationDirection

The animation direction.

Declaration

cs-api-definition
public AnimationDirection AnimationDirection { get; set; }

Property Value

AnimationDirection

Orientation

Gets or sets a value, describing the orientation of the animation.

Declaration

cs-api-definition
public Orientation Orientation { get; set; }

Property Value

Orientation

Methods

CreateAnimationOverride(FrameworkElement, FrameworkElement)

Creates the animation.

Declaration

cs-api-definition
protected override Storyboard CreateAnimationOverride(FrameworkElement control, FrameworkElement target)

Parameters

control

FrameworkElement

The control for which the animation is needed.

target

FrameworkElement

The targeted element of the animation.

Returns

Storyboard

The newly created animation.

Overrides BaseAnimation.CreateAnimationOverride(FrameworkElement, FrameworkElement)

UpdateAnimationOverride(FrameworkElement, Storyboard, FrameworkElement, params object[])

Updates the animation.

Declaration

cs-api-definition
protected override void UpdateAnimationOverride(FrameworkElement control, Storyboard storyboard, FrameworkElement target, params object[] args)

Parameters

control

FrameworkElement

The control for which the animation needs to be updated.

storyboard

Storyboard

Storyboard that needs to be updated.

target

FrameworkElement

The targeted element of the animation.

args

object[]

Overrides BaseAnimation.UpdateAnimationOverride(FrameworkElement, Storyboard, FrameworkElement, params object[])

Remarks

Currently the method sets the SpeedRatio of the storyboard to the global AnimationSpeedRatio if the local SpeedRatio is null. If the local SpeedRatio value is set, it will be used.