有关WPF的信息 [英] Information about WPF

查看:128
本文介绍了有关WPF的信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好

我是WPF的新手.
甚至不知道WPF的优缺点是什么.
我已经完成了一些窗口应用程序,还告诉我学习WPF.

请建议一些良好的链接以了解WPF并学习WPF.

在此先感谢.

Hi all

I am new to WPF.
Don''t even know what is the advantages and disadvantages of WPF.
I have done some window application and some to told to learn WPF.

Please Suggest some good link to know about WPF and learn WPF.

Thanks in advance.

推荐答案

----编辑2 -----

鉴于您正在尝试使编辑器与您所展示的编辑器一样,我建议您进一步使用WPF.我当前的项目在这些方面也具有许多功能,并且我们决定将WPF与Direct3D内容进行复合的功能非常强大.能够将您的场景渲染成任何东西,而不仅仅是矩形窗口,真是太好了.在WinForms中,您几乎只限于一个矩形,并且那里的空域也有问题(微妙,但菜单移到hwnd时会出现闪烁等问题,等等).带有D3DImage的WPF合成器摆脱了所有这些问题,使您可以利用自己的想象力来构建非常灵活的UI.可以在WPF3D对象的侧面实时渲染场景,也可以直接在d3d场景顶部使用WPF控件,而不必尝试在D3D中创建GUI等.

-----原始---------

如果您要托管DX,则可能需要考虑使用它-特别是因为它使您能够使用UI进行场景合成,并且如果使用D3DImage则不会出现空域问题.

这确实适用于SlimDX和WPF.

----编辑-----

有关将Direct3D与Winforms一起使用的缺点以及WPF/DX集成的优点的更多信息,请参见:




http://msdn.microsoft.com/en-us/library/aa970688.aspx [ ^ ]


D3DImage简介 [
----EDIT 2 -----

Given that you''re trying to make an editor like the one you showed, I''d recommend going WPF even more. My current project has many features along those lines, as well, and we''ve decided that the ability to composite WPF with Direct3D content is extremely powerful. It''s nice to be able to render your scene into anything - not just a rectangular window. In WinForms, you pretty much were limited to one rectangle, and you had issues with airspace there, too (subtle, but things like flickering issues when menus pull over your hwnd, etc). The WPF compositor with D3DImage gets rid of all of those issues, and lets you use your imagination to construct a very flexible UI. Things like rendering your scene in realtime on the side of a WPF3D object are possible, or using WPF controls directly on top of your d3d scene instead of trying to do the GUI in D3D, etc.

-----Original---------

If you''re going to be hosting DX, you might want to consider it - especially since it gives you the ability to do scene composition with your UI and no airspace issues if you use D3DImage.

This does work with SlimDX and WPF.

----EDIT-----

For more information on the disadvantages of using Direct3D with Winforms, and the advantages of WPF/DX integration, see:




http://msdn.microsoft.com/en-us/library/aa970688.aspx[^]


Introduction to D3DImage[^]


^ ]
http://www.wpftutorial.net/ [ ^ ]
http://msdn.microsoft.com/en-us/library/ms754130%28v = vs.85%29.aspx [ ^ ]
http://www.abhisheksur.com/2010/12/wpf-tutorial.html [ ^ ]
http://dotnetslackers.com/articles/silverlight/WPFTutorial.aspx [
Advantages and Disadvantages of WPF[^]
http://www.wpftutorial.net/[^]
http://msdn.microsoft.com/en-us/library/ms754130%28v=vs.85%29.aspx[^]
http://www.abhisheksur.com/2010/12/wpf-tutorial.html[^]
http://dotnetslackers.com/articles/silverlight/WPFTutorial.aspx[^]


您可以找到一些有用的链接此处 [ ^ ]
You can find some useful links here[^]


这篇关于有关WPF的信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆