New to Telerik UI for WPFStart a free 30-day trial

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

Definition

Constructors

C#
public RevealAnimation()

Properties

The animation direction.

C#
public AnimationDirection AnimationDirection { get; set; }

Orientation

Orientation

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

C#
public Orientation Orientation { get; set; }

Methods

Creates the animation.

C#
protected override Storyboard CreateAnimationOverride(FrameworkElement control, FrameworkElement target)
Parameters:controlFrameworkElement

The control for which the animation is needed.

targetFrameworkElement

The targeted element of the animation.

Returns:

Storyboard

The newly created animation.

Overrides: BaseAnimation.CreateAnimationOverride(FrameworkElement, FrameworkElement)

Updates the animation.

C#
protected override void UpdateAnimationOverride(FrameworkElement control, Storyboard storyboard, FrameworkElement target, params object[] args)
Parameters:controlFrameworkElement

The control for which the animation needs to be updated.

storyboardStoryboard

Storyboard that needs to be updated.

targetFrameworkElement

The targeted element of the animation.

argsobject[]

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.