1安装WpfAnimatedGif
2 在xaml文件中加入 xmlns:gif="http://wpfanimatedgif.codeplex.com"
3 放置控件
<Image gif:ImageBehavior.AnimatedSource=".\Images\animated.gif" Height="35" Width="35" Margin="714,10,31,370"/>
4 gif所在目录
1安装WpfAnimatedGif
2 在xaml文件中加入 xmlns:gif="http://wpfanimatedgif.codeplex.com"
3 放置控件
<Image gif:ImageBehavior.AnimatedSource=".\Images\animated.gif" Height="35" Width="35" Margin="714,10,31,370"/>
4 gif所在目录