Animator class¶
Defined in
Namespace: CrissCross.WPF.UI.Controls
Assembly: CrissCross.WPF.UI.dll
Full name: CrissCross.WPF.UI.Controls.Animator
Modifiers: public abstract
Summary¶
Animator.
Applies to
net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481
Class hierarchy
classDiagram
class Animator
class DependencyObject
DependencyObject <|-- Animator
class IDisposable {
<>
}
IDisposable <|.. Animator
Inherits from: DependencyObject
Implements: IDisposable
Properties¶
| Name | Summary |
|---|---|
| CurrentFrameIndex | Gets the index of the current frame. |
| FrameCount | Gets the frame count. |
| IsComplete | Gets a value indicating whether this instance is complete. |
| IsPaused | Gets a value indicating whether this instance is paused. |
| AnimationSource | Gets the animation source. |
Methods¶
| Name | Summary |
|---|---|
| Finalize | Finalizes an instance of the [Animator](# class. |
| Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
| Pause | Pauses this instance. |
| Play | Plays this instance. |
| Rewind | Rewinds this instance. |
| ToString | Converts to string. |
| GetSpecifiedRepeatBehavior | Gets the specified repeat behavior. |
| OnAnimationCompleted | Called when [animation completed]. |
| OnAnimationStarted | Called when [animation started]. |
| OnCurrentFrameChanged | Called when [current frame changed]. |
| OnError | Called when [error]. |
Events¶
| Name | Summary |
|---|---|
| AnimationCompleted | Occurs when [animation completed]. |
| AnimationStarted | Occurs when [animation started]. |
| CurrentFrameChanged | Occurs when [current frame changed]. |
| Error | Occurs when [error]. |