C# Class System.Windows.Media.Glitz.AnimationEffect

Represents an animation that can be associated with an element.
Inheritance: System.Windows.FrameworkElement, IAttachedObject, IProceduralAnimationFactory
Afficher le fichier Open project: nikhilk/silverlightfx

Private Properties

Свойство Type Description
IAttachedObject void
IAttachedObject void
IProceduralAnimationFactory ProceduralAnimation
OnAnimationStopped void

Méthodes publiques

Méthode Description
PlayEffect ( AnimationEffectDirection direction ) : void

Indicates that the effect should start playing.

StopEffect ( ) : void

Indicates that the effect should complete itself now and stop.

Méthodes protégées

Méthode Description
AnimationEffect ( ) : System

Initializes an AnimationEffect instance.

CreateEffectAnimation ( AnimationEffectDirection direction ) : ProceduralAnimation

Creates the animation representing the effect.

GetEffectiveInterpolation ( ) : TweenInterpolation

Gets the effective interpolation to use for animations created by the effect.

GetTarget ( ) : FrameworkElement

Gets the target of the effect. This resolves the TargetName property value into an actual object if one has been specified.

OnAttach ( ) : void
OnCompleted ( ) : void

Indicates that the effect has completed playing.

OnDetach ( ) : void
OnStarting ( ) : void

Indicates that the effect is about to be played.

Private Methods

Méthode Description
IAttachedObject ( ) : void
IAttachedObject ( DependencyObject associatedObject ) : void
IProceduralAnimationFactory ( ) : ProceduralAnimation
OnAnimationStopped ( object sender, EventArgs e ) : void

Method Details

AnimationEffect() protected méthode

Initializes an AnimationEffect instance.
protected AnimationEffect ( ) : System
Résultat System

CreateEffectAnimation() protected abstract méthode

Creates the animation representing the effect.
protected abstract CreateEffectAnimation ( AnimationEffectDirection direction ) : ProceduralAnimation
direction AnimationEffectDirection The direction of the animation.
Résultat ProceduralAnimation

GetEffectiveInterpolation() protected méthode

Gets the effective interpolation to use for animations created by the effect.
protected GetEffectiveInterpolation ( ) : TweenInterpolation
Résultat TweenInterpolation

GetTarget() protected méthode

Gets the target of the effect. This resolves the TargetName property value into an actual object if one has been specified.
protected GetTarget ( ) : FrameworkElement
Résultat System.Windows.FrameworkElement

OnAttach() protected méthode

protected OnAttach ( ) : void
Résultat void

OnCompleted() protected méthode

Indicates that the effect has completed playing.
protected OnCompleted ( ) : void
Résultat void

OnDetach() protected méthode

protected OnDetach ( ) : void
Résultat void

OnStarting() protected méthode

Indicates that the effect is about to be played.
protected OnStarting ( ) : void
Résultat void

PlayEffect() public méthode

Indicates that the effect should start playing.
public PlayEffect ( AnimationEffectDirection direction ) : void
direction AnimationEffectDirection Indicates whether to play the direction in forward direction or reverse direction.
Résultat void

StopEffect() public méthode

Indicates that the effect should complete itself now and stop.
public StopEffect ( ) : void
Résultat void