<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="uri:settings" CurrentProfile="(Default)">
<Profiles>
<Profile Name="(Default)" />
</Profiles>
<Settings />
</SettingsFile>
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
WPF GIF动画源码 技术特点: 一个简单的在WPF中显示GIF图片的库 使用非常简单:在XAML中,替换Source属性,设置AnimatedSource附加属性到想要的图片 <Window x:Class="WpfAnimatedGif.Demo.MainWindow" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:gif="http://wpfanimatedgif.codeplex.com" Title="MainWindow" Height="350" Width="525"> <Grid> <Image gif:ImageBehavior.AnimatedSource="Images/animated.gif" /> 它甚至可以在设计视图中运行。 你还可以设置动画循环播放(默认为无限循环) <Image gif:ImageBehavior.RepeatBehavior="3x" gif:ImageBehavior.AnimatedSource="Images/animated.gif" /> 还可以在代码中设置 var image = new BitmapImage(); image.BeginInit(); image.UriSource = new Uri(fileName); image.EndInit(); ImageBehavior.SetAnimatedSource(img, image);
资源推荐
资源详情
资源评论
收起资源包目录
WPFAnimatedGIFd6287238-7b28-45ee-92a7-aa7ad527f700.zip (45个子文件)
51aspx_WPFAnimatedGIFd6287238-7b28-45ee-92a7-aa7ad527f700
WpfAnimatedGif.Demo
App.xaml.cs 321B
MainWindow.xaml.cs 1KB
WpfAnimatedGif.Demo.csproj 5KB
MainWindow.xaml 690B
Properties
Settings.settings 201B
Resources.Designer.cs 3KB
AssemblyInfo.cs 2KB
Settings.Designer.cs 1KB
Resources.resx 5KB
Images
animated.gif 28KB
App.xaml 330B
WpfAnimatedGif.Demo.csproj.vspscc 257B
obj
x86
Debug
TempPE
Properties.Resources.Designer.cs.dll 5KB
DesignTimeResolveAssemblyReferencesInput.cache 7KB
App.g.i.cs 2KB
DesignTimeResolveAssemblyReferences.cache 19KB
MainWindow.g.i.cs 4KB
bin
Debug
WpfAnimatedGif.Demo.vshost.exe.manifest 490B
WpfAnimatedGif.Demo.vshost.exe 11KB
WpfAnimatedGif.suo 26KB
WpfAnimatedGif.nuspec 1KB
WpfAnimatedGif.sln 3KB
WpfAnimatedGif
ImageBehavior.cs 14KB
WpfAnimatedGif.csproj.vspscc 257B
Decoding
GifHelpers.cs 3KB
GifColor.cs 602B
GifDecoder.cs 779B
GifTrailer.cs 428B
GifFile.cs 3KB
GifLogicalScreenDescriptor.cs 2KB
GifApplicationExtension.cs 2KB
GifDecoderException.cs 569B
GifGraphicControlExtension.cs 2KB
GifCommentExtension.cs 956B
GifFrame.cs 2KB
GifBlockKind.cs 172B
GifImageDescriptor.cs 1KB
GifImageData.cs 728B
GifExtension.cs 1KB
GifPlainTextExtension.cs 2KB
GifHeader.cs 1KB
GifBlock.cs 1KB
Properties
AssemblyInfo.cs 822B
WpfAnimatedGif.csproj 3KB
obj
Debug
DesignTimeResolveAssemblyReferencesInput.cache 6KB
共 45 条
- 1
ss_geng
- 粉丝: 319
- 资源: 3220
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
前往页