C# 클래스 System.Windows.Media.Glitz.ProceduralAnimation

The base class for procedural animations.
상속: IDisposable
파일 보기 프로젝트 열기: nikhilk/silverlightfx 1 사용 예제들

Private Properties

프로퍼티 타입 설명
OnPlay void
OnProgress bool
OnStop void

공개 메소드들

메소드 설명
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.

보호된 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
OnPlay ( bool reversed ) : void
OnProgress ( System.DateTime timeStamp ) : bool
OnStop ( bool completed, ProceduralAnimationStopState stopState ) : void

메소드 상세

Dispose() 공개 메소드

Disposes the animation instance.
public Dispose ( ) : void
리턴 void

PerformCleanup() 보호된 메소드

Allows the animation to perform any cleanup work once the animation is complete.
protected PerformCleanup ( ) : void
리턴 void

PerformSetup() 보호된 메소드

Allows the animation to perform any setup work before the animation is started.
protected PerformSetup ( ) : void
리턴 void

Play() 공개 메소드

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

PlayCore() 보호된 추상적인 메소드

Plays the animation when it has been scheduled and started.
protected abstract PlayCore ( ) : void
리턴 void

ProceduralAnimation() 보호된 메소드

Initializes an instance of an Animation class.
protected ProceduralAnimation ( ) : System
리턴 System

ProgressCore() 보호된 추상적인 메소드

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.
리턴 bool

Repeat() 보호된 메소드

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

Stop() 공개 메소드

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.
리턴 void

StopCore() 보호된 추상적인 메소드

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.
리턴 void