Click or drag to resize

RoutedEventAnimator Class

Listens for a specific routed event to start an animation on a framework element.
Inheritance Hierarchy

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

The RoutedEventAnimator type exposes the following members.

Constructors
  NameDescription
Public methodRoutedEventAnimator
Creates a new instance of the RoutedEventAnimator class.
Public methodRoutedEventAnimator(RoutedEvent)
Creates a new instance of the RoutedEventAnimator class.
Top
Properties
  NameDescription
Public propertyAnimator
Gets or sets the animator to execute if the routed event happened.
Public propertyHandledEventsToo
Gets or sets a value that if the animation shall still be triggered even if the event is already marked as handled.
Public propertyRoutedEvent
Gets or sets the routed event to observe on.
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) (Inherited from MarkupExtension.)
Public methodProvideValue(IServiceProvider)
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
XAML
<Window>
    <controls:EventAnimation.RoutedEvent>
        <local:RoutedEventAnimator RoutedEvent="Window.Loaded" Animator="{local:FadeInAnimator}" />
    </controls:EventAnimation.RoutedEvent>
</Window>
See Also