在WPF中使用MDI窗口的问题 [英] Question on using MDI windows in WPF

查看:157
本文介绍了在WPF中使用MDI窗口的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在WPF中创建MDI窗口,类似于Winforms中的窗口.我该怎么做?

I am trying to create MDI windows in WPF, similar to what we have in Winforms. How can I do this?

推荐答案

在Codeplex上另一个很好的解决方案是 AvalonDock a> [^ ]-您将能够创建类似于到Visual Studio选项卡式MDI.

问候
Espen Harlinn
Another very good solution on codeplex is AvalonDock[^] - You''ll be able to create a flexible UI similar to the Visual Studio tabbed MDI.

Regards
Espen Harlinn


从技术上讲,Espen和Nishant的回答是正确的.

但是请帮个忙,听听我的友善建议:不要做MDI
没有那么多UI设计如此麻烦和麻烦!我认识的每个人(而且我认识很多计算机人员,而不仅仅是开发人员)都讨厌这样的用户体验,并且非常同意我的看法.您找不到使用这种设计的任何认真的公司或UI开发人员.

而是使用选项卡式UI,或可停靠(或组合),或由树/列表视图TOC页样式控制,或折叠面板或类似的东西.

—SA
Technically speaking, Answers by Espen and Nishant are correct.

But do yourself a favor, listen to my good friendly advice: don''t do MDI!
There are not so many UI designs that are so inconvenient and cumbersome! Everyone I know (and I know very many computer people, not just developers) hate such user experience and well agree with me. You cannot find any serious company or UI developer using such design.

Instead, use tabbed UI, or dockable (or combined), or controlled by tree/list view TOC-page style, or folding panels or something like that.

—SA


我同意SA.尝试使用控制板之类的控件(选项卡,停靠栏等).
它们使您可以在同一页面上显示更多数据.
I agree with SA. Trying using dashboard like controls (tab, docks etc).
They allow you to show much more data on the same page.


这篇关于在WPF中使用MDI窗口的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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