Wpf implementation of Gif.
1 | public class GifImage : Image, IDisposable |
Attributes
| Property | Description | Default Value | Remarks |
|---|---|---|---|
| Uri | Picture Uri |
Case
1 | <hc:GifImage x:Name="GifImageMain" Stretch="None" Margin="32" Uri="/HandyControlDemo;component/Resources/Img/car_chase.gif"/> |
or
1 | <hc:GifImage Width="400" Height="300"> |

When you no longer use GifImage, remember to call the Dispose method to clean up resources.