WPF的mdi等效项 [英] mdi equivalent for WPF

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

问题描述

在WPF中使用哪个控件代替MDI?我正在做一个需要MDI的项目.我知道WPF不支持MDI,Microsoft鼓励使用Ribbon Framework和Tabbed控件,页面和框架而不是MDI.请帮助我,这是我可以用作MDI的最好的方法?

谢谢.

Which is the control used instead of MDI in WPF? I am doing a project which needs an MDI. I came to know that WPF doesn''t support MDI and Microsoft is encouraging Ribbon Framework and Tabbed control, page and Frame instead of MDI. Please help me which is the best one I can use as MDI?

Thank you.

推荐答案

WPF不支持MDI范例.这就是VS2010(在其自己的UI中)不再支持它的原因之一.人们已经抱怨了,但我不知道MS是否会采取措施.

WPF does not support the MDI paradigm. That''s one of the reasons VS2010 (in its own UI) doesn''t support it anymore either. People have complained, but I don''t know if MS is going to take steps.


John是对的(我是5个人).我只想报告一下我在这件事上的经验:我的一个项目最初是使用Windows.Forms/MDI设计的.后来,当我移到WPF时,成功使用了选项卡控件.当然,这是一个完全不同的设计,它与MDI无关,但是从用户的角度来看,这是非常相似的,尤其是现在大多数用户都使用了选项卡浏览.我的应用程序用户没有抱怨,很快就习惯了新设计.
John is right (5 from me). I just want to report my experience on this matter: One of my projects was initially designed with Windows.Forms / MDI. Later on, when I moved to WPF, I have used tab control with success. Of course it is a totally different design, it has nothing to do with MDI, but from the user point of view, it is very alike, especially now that most users are used with tab browsing. My application users didn''t complain and got used to to the new design quickly.


您可以使用PRISM(复合UI).阅读其教程以获取有关此主题的深入了解.您可以使用它来实现MDI.
You can use PRISM (Composite UI). Read its tutorial to get indepth idea about that. You can implement MDI using that.


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

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