Click or drag to resize

FadeInAnimator Class

Fades in a framework element.
Inheritance Hierarchy

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

The FadeInAnimator type exposes the following members.

Constructors
  NameDescription
Public methodFadeInAnimator
Creates a new instance of the FadeInAnimator class.
Public methodFadeInAnimator(TimeSpan)
Creates a new instance of the FadeInAnimator 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 FadeInAnimator(TimeSpan.FromSeconds(2));
animator.Run(myControl);
See Also