How can I implement an MDI application in WPF? In windows forms I was used to write code like this:

Form2 oForm2 = new Form2();
            oForm2.MdiParent = this;
            oForm2.Show();

How can I accomplish the same thing in WPF?

有帮助吗?

解决方案

There is no ready made built-in implementation in WPF, but there are already people who did that already from scratch, check this codeplex project:

WPF Multiple Document Interface (MDI)

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top