.net 在哪里可以找到一些示例 WPF 动画?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/443847/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Where can I find some sample WPF animations?
提问by Kris Erickson
As I am a programmer,and not an artist or animator and I am failing at showing off the best features of WPF in my application. Although I have samples for simple animations for buttons like growing, or having the color fade into something brighter on click but what I am looking for is some showcase button animations and some showcase panel change animations to show off the best features of WPF. Normally I would go for the more subtle changes, but in a couple of cases I need something to really show off the advantages of using WPF over WinForms technology.
因为我是程序员,而不是艺术家或动画师,所以我无法在我的应用程序中展示 WPF 的最佳功能。虽然我有一些简单的按钮动画示例,例如增长,或者单击时颜色会逐渐变亮,但我正在寻找一些展示按钮动画和一些展示面板更改动画,以展示 WPF 的最佳功能。通常我会进行更细微的更改,但在某些情况下,我需要一些东西来真正展示使用 WPF 优于 WinForms 技术的优势。
Can anyone point me at some button samples and/or panel changing (switching from one panel to the next in a navigation) that really shows of WPF and has that wowfactor.
任何人都可以指出一些按钮示例和/或面板更改(在导航中从一个面板切换到下一个面板),它们真正显示了 WPF 并具有令人惊叹的因素。
EDIT
编辑
Please don't point to http://codeproject.comor the microsoft samples, as I have already perused those at great detail. In fact here are the list of WPF sites in my rss reader (Suggestions for other blogs welcome):
请不要指向http://codeproject.com或 microsoft 示例,因为我已经详细阅读了这些示例。事实上,这里是我的 rss 阅读器中的 WPF 站点列表(欢迎对其他博客提出建议):
Lester's WPF blog, Ask Dr. WPF, Expression Blend and Design, WPF Wonderland, nerdplusart, Karl On WPF, Windows Presentation Foundation SDK, Josh Smith on WPF, Rob Relyea - Xamlified, The Moth.
Lester 的 WPF 博客, Ask Dr. WPF,Expression Blend and Design,WPF Wonderland,nerdplusart,Karl On WPF,Windows Presentation Foundation SDK,Josh Smith on WPF,Rob Relyea-Xamlified,The Moth。
I want specific examples, thanks...
求具体例子,谢谢...
采纳答案by Jared Bienz - MSFT
Honestly I think the best way to learn is to use an animation tool. If you have access to Expression Blend you can use it to learn a lot about how WPF animations are setup in Xaml. There are many nuances to animation, like keyframe easing, that are just hard to understand and get right by plucking away at IntelliSense in Visual Studio.
老实说,我认为最好的学习方法是使用动画工具。如果您可以访问 Expression Blend,则可以使用它来了解有关如何在 Xaml 中设置 WPF 动画的很多信息。动画有许多细微差别,例如关键帧缓动,这些细微差别很难通过在 Visual Studio 中使用 IntelliSense 来理解和正确处理。
As I've mentioned before, many people have access to Expression Blend and don't realize it. Many college students and some high school students get it free through DreamSpark. Corporations that have MSDN licenses get it. Startups can also get it through the BizSparkprogram.
正如我之前提到的,很多人都可以使用 Expression Blend,但并没有意识到这一点。许多大学生和一些高中生通过DreamSpark免费获得它。拥有 MSDN 许可证的公司可以获得它。初创公司也可以通过BizSpark计划获得它。
At any rate, if you're interested in learning animations through Expression Blend, these starter videos on Channel 9 are a decent place to start:
无论如何,如果您有兴趣通过 Expression Blend 学习动画,那么第 9 频道上的这些入门视频是一个不错的起点:
Animation Using Expression Blend: How to create an animation
使用 Expression Blend 的动画:如何创建动画
Animation Using Expression Blend: How to start animations on events
使用 Expression Blend 的动画:如何在事件上启动动画
Animation Using Expression Blend: How to make an animation follow a path
使用 Expression Blend 的动画:如何使动画遵循路径
Finally, I'll leave you with a little teaser that animations get even more fun in a yet-to-be announced release of Blend. Keep an eye on Mixin March for more information.
最后,我要给你一个小预告,动画在尚未公布的 Blend 版本中变得更加有趣。请密切关注三月的Mix以获取更多信息。
回答by Sean Sexton
Also check out animation of rippling water, with raindrops falling in the water:
还可以查看涟漪水的动画,雨滴落在水中:
http://stuff.seans.com/2008/08/24/raindrop-animation-in-wpf/
http://stuff.seans.com/2008/08/24/raindrop-animation-in-wpf/
I'm biased, but I think it's a nice demo of the power of doing 3D animation in WPF.
我有偏见,但我认为这是一个很好的演示,展示了在 WPF 中做 3D 动画的力量。
回答by Drake
回答by user29140
How about Cool Control Template for WPF Button?
WPF按钮的酷控件模板怎么样?
回答by Ahmed Kotb
you can have a look at family.show http://www.codeplex.com/familyshow
你可以看看family.show http://www.codeplex.com/familyshow
回答by Franci Penov
You might know about it, but I have not seen the WindowsClient.netlist of WPF samples mentioned here.
您可能知道它,但我还没有看到此处提到的 WPF 示例的WindowsClient.net列表。
Family.showis a reference application from the WPF team (w/ Vertigo).
Family.show是 WPF 团队的参考应用程序(带有 Vertigo)。
If you just need showcases, you should check out WindowsClient.net WPF Showcaseand Tim Sneath's list of WPF apps.
如果您只需要展示,您应该查看 WindowsClient.net WPF Showcase和 Tim Sneath 的WPF 应用程序列表。
thirteen23's Bluand Dramaare also very good as a showcase, but no source available. Though, Drama does have stunning animations with list views.
1323 的Blu和Drama作为展示也很不错,但没有可用的资源。尽管如此,Drama 确实有令人惊叹的动画和列表视图。
回答by akjoshi
Have a look at the list of wpf applications here too -
也看看这里的 wpf 应用程序列表 -
Cool WPF applications :
http://blogs.msdn.com/b/chabrook/archive/2007/02/20/cool-wpf-applications.aspx
酷 WPF 应用程序:
http://blogs.msdn.com/b/chabrook/archive/2007/02/20/cool-wpf-applications.aspx

