RevealAnimation
Reveal animation for expanding the element's visibility from left to right or from top to bottom and vice versa.
Definition
Namespace:Telerik.Windows.Controls.Animation
Assembly:Telerik.Windows.Controls.dll
Syntax:
public class RevealAnimation : BaseAnimation
Inheritance: objectRadAnimationBaseAnimationRevealAnimation
Inherited Members
Constructors
public RevealAnimation()
Properties
The animation direction.
public AnimationDirection AnimationDirection { get; set; }
Orientation
Orientation
Gets or sets a value, describing the orientation of the animation.
public Orientation Orientation { get; set; }
Methods
Creates the animation.
protected override Storyboard CreateAnimationOverride(FrameworkElement control, FrameworkElement target)
The control for which the animation is needed.
targetFrameworkElementThe targeted element of the animation.
Returns:Storyboard
The newly created animation.
Overrides:
Updates the animation.
protected override void UpdateAnimationOverride(FrameworkElement control, Storyboard storyboard, FrameworkElement target, params object[] args)
The control for which the animation needs to be updated.
storyboardStoryboardStoryboard that needs to be updated.
targetFrameworkElementThe targeted element of the animation.
argsobject[]Overrides:
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.