'Declaration Public Event ImageFrameChanged As EventHandler(Of AnimatedImageManager.ImageFrameChangedEventArgs)
public event EventHandler<AnimatedImageManager.ImageFrameChangedEventArgs> ImageFrameChanged
The event handler receives an argument of type AnimatedImageManager.ImageFrameChangedEventArgs containing data related to this event. The following AnimatedImageManager.ImageFrameChangedEventArgs properties provide information specific to this event.
Property | Description |
---|---|
CurrentFrame | Indicates the index of the currently active frame in the image. |
FrameCount | Get the total number of time-based frames from the image. |
Image | Gets the image whose current frame changed. |
IsLastFrame | Indicates if the currently active frame of the image is the last frame. |
SuspendAnimation | Indicates if the animation for this image should be suspended |
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2