0

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?

Mohammed A. Fadil
  • 9,205
  • 7
  • 50
  • 67
alexandrovdi
  • 191
  • 1
  • 3
  • 10
  • There are so many similar topics on Stakoverflow. – eandersson Apr 28 '12 at 11:41
  • I can't find. answer if you can – alexandrovdi Apr 28 '12 at 11:44
  • There is no such thing as MDI in WPF, but there are plenty other similar features you can use. – eandersson Apr 28 '12 at 11:47
  • I will tell you what I tell most other asking questions. If you want people to put effort into helping you, at least show that you have tried to put effort into the question. I don't except everyone to have perfect English, man even my English is terrible, but you should at least format your code and list the things you have tried. – eandersson Apr 28 '12 at 12:24
  • Why was this question closed as "ambiguous, vague, incomplete, overly broad"? It seemed extremely specific to me - he gave a code sample and wanted to know how to do the same thing in WPF? What could POSSIBLY be more clear and specific than that? – user316117 Sep 12 '12 at 15:01

1 Answers1

-1

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)

Mohammed A. Fadil
  • 9,205
  • 7
  • 50
  • 67
  • wpfmdi seems to have been abandoned according to a post on CodePlex last February. – user316117 Sep 12 '12 at 14:56
  • @user316117, Yeah, but this is a Microsoft decision not the community. If you googled for few seconds you will find allot of people complained about that and created their own solutions. – Mohammed A. Fadil Sep 17 '12 at 13:37