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

The base class for procedural animations.
Inheritance: IDisposable
Afficher le fichier Open project: nikhilk/silverlightfx Class Usage Examples

Private Properties

Свойство Type Description
OnPlay void
OnProgress bool
OnStop void

Méthodes publiques

Méthode Description
Dispose ( ) : void

Disposes the animation instance.

Play ( FrameworkElement associatedElement ) : void

Schedules the animation to be played.

Stop ( ProceduralAnimationStopState stopState ) : void

Stops playing the animation mid-way. The specified stopState determines the state in which the element being animated is left in.

Méthodes protégées

Méthode Description
PerformCleanup ( ) : void

Allows the animation to perform any cleanup work once the animation is complete.

PerformSetup ( ) : void

Allows the animation to perform any setup work before the animation is started.

PlayCore ( ) : void

Plays the animation when it has been scheduled and started.

ProceduralAnimation ( ) : System

Initializes an instance of an Animation class.

ProgressCore ( bool startRepetition, bool startReverse, System.DateTime timeStamp ) : bool

Progresses the animation to the new current time.

Repeat ( bool reverse ) : void

Indicates the animation is being repeated.

StopCore ( bool completed, ProceduralAnimationStopState stopState ) : void

Stops the animation when it is no longer scheduled to continue playing.

Private Methods

Méthode Description
OnPlay ( bool reversed ) : void
OnProgress ( System.DateTime timeStamp ) : bool
OnStop ( bool completed, ProceduralAnimationStopState stopState ) : void

Method Details

Dispose() public méthode

Disposes the animation instance.
public Dispose ( ) : void
Résultat void

PerformCleanup() protected méthode

Allows the animation to perform any cleanup work once the animation is complete.
protected PerformCleanup ( ) : void
Résultat void

PerformSetup() protected méthode

Allows the animation to perform any setup work before the animation is started.
protected PerformSetup ( ) : void
Résultat void

Play() public méthode

Schedules the animation to be played.
public Play ( FrameworkElement associatedElement ) : void
associatedElement System.Windows.FrameworkElement The element to use to control the animation.
Résultat void

PlayCore() protected abstract méthode

Plays the animation when it has been scheduled and started.
protected abstract PlayCore ( ) : void
Résultat void

ProceduralAnimation() protected méthode

Initializes an instance of an Animation class.
protected ProceduralAnimation ( ) : System
Résultat System

ProgressCore() protected abstract méthode

Progresses the animation to the new current time.
protected abstract ProgressCore ( bool startRepetition, bool startReverse, System.DateTime timeStamp ) : bool
startRepetition bool Whether the animation is starting a repetition.
startReverse bool Whether the animation is starting a reverse run.
timeStamp System.DateTime The time stamp to progress the animation through.
Résultat bool

Repeat() protected méthode

Indicates the animation is being repeated.
protected Repeat ( bool reverse ) : void
reverse bool Whether the next repetition will happen in reverse direction.
Résultat void

Stop() public méthode

Stops playing the animation mid-way. The specified stopState determines the state in which the element being animated is left in.
public Stop ( ProceduralAnimationStopState stopState ) : void
stopState ProceduralAnimationStopState The state of the element upon stopping the animation.
Résultat void

StopCore() protected abstract méthode

Stops the animation when it is no longer scheduled to continue playing.
protected abstract StopCore ( bool completed, ProceduralAnimationStopState stopState ) : void
completed bool Whether the animation has completed naturally.
stopState ProceduralAnimationStopState The state in which the animation should end if it was interrupted.
Résultat void