日期:2014-05-20  浏览次数:21154 次

WPF里怎样实现MDI(多文档)呢?
知道WPF本身不能实现MDI,但是不知道应该怎么实现,希望大家能说一下实现步骤,谢谢:)

------解决方案--------------------
一般不要去实现MDI,而是使用Tab的方法,类似于Visual Studio的那种界面形式。

如果打算实现的话,可以自己做一个模拟窗口的容器来管理(不过比较麻烦啊)。
------解决方案--------------------
You could try to use MDI container from Windows Forms.
------解决方案--------------------
If you understand Windows Forms, you could refer to the link below. The link contains information about MDI form.

http://msdn.microsoft.com/zh-cn/library/xyhh2e7e.aspx

Because the prementioned link is the Windows Forms technology, but not WPF, so you could refer to the following link to know how to interop between Windows Forms and WPF.

http://msdn.microsoft.com/zh-cn/library/bb384295.aspx
------解决方案--------------------
http://social.msdn.microsoft.com/forums/en-US/wpf/thread/a00ac012-06f1-4bb8-a421-d6556cbd48a1/