ClassFadeAnimation
Fade animation for showing/hiding elements.
Definition
Namespace:Telerik.Windows.Controls.Animation
Assembly:Telerik.Windows.Controls.dll
Syntax:
public class FadeAnimation : OrientedAnimation
Inheritance: objectRadAnimationBaseAnimationOrientedAnimationFadeAnimation
Inherited Members
Constructors
FadeAnimation()
Initializes a new instance of the FadeAnimation class.
Declaration
public FadeAnimation()
Properties
MaxOpacity
Gets or sets a value that describes the maximum opacity during the animation.
MinOpacity
Gets or sets a value that describes the minimum opacity during the animation.
Methods
CreateAnimationOverride(FrameworkElement, FrameworkElement)
Creates the slide animation.
Declaration
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
UpdateAnimationOverride(FrameworkElement, Storyboard, FrameworkElement, params object[])
Updates the slide animation.
Declaration
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
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.