Click or drag to resize

FadeOutAnimator Class

Fades out a framework element.
Inheritance Hierarchy

Namespace:  SniffCore.Animations
Assembly:  SniffCore.Animations (in SniffCore.Animations.dll) Version: 0.3.1
Syntax
C#
public class FadeOutAnimator : Animator

The FadeOutAnimator type exposes the following members.

Constructors
  NameDescription
Public methodFadeOutAnimator
Creates a new instance of the FadeOutAnimator class.
Public methodFadeOutAnimator(TimeSpan)
Creates a new instance of the FadeOutAnimator class.
Top
Properties
  NameDescription
Public propertyDuration
Gets or sets the duration how long the fade will go.
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodProvideValue(IServiceProvider)
Provides the final build animator instance.
(Inherited from Animator.)
Public methodProvideValue(IServiceProvider) (Inherited from MarkupExtension.)
Public methodRun
Executes the animation on the given framework element.
(Overrides AnimatorRun(FrameworkElement, Action).)
Public methodToString (Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodIsNullOrEmpty
Checks if the object is null or an empty string.
(Defined by ObjectEx.)
Public Extension MethodIsNullOrWhiteSpace
Checks if the object is null, an empty string or a string which consists of whitespace (or tabs) only.
(Defined by ObjectEx.)
Top
Examples
var animator = new FadeOutAnimator(TimeSpan.FromSeconds(2));
animator.Run(myControl);
See Also