Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: WPF
Does WPF support Multiple Document Interface ??
Posted 21-Mar-11 4:33am
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Not 'directly' the same kind of MDI as in Windows Forms where you have several floating client windows inside the parent. However, there are several examples of different kinds of MDI implementations in the articles. See: http://www.codeproject.com/info/search.aspx?artkw=wpf+mdi&sbo=kw&usfc=false[^].
  Permalink  
Comments
SAKryukov at 21-Mar-11 14:28pm
   
Please take a look, if you did not see it before: simulation of MDI in WPF. However, a warning against MDI is more important. Please see my Answer.
--SA
Mika Wendelius at 21-Mar-11 15:15pm
   
When I searched for the articles the Tabbed MDI was the first one on the list. I very often use tabbed windows in WPF, but I must admit that I'm still keen on MDI on certain situations and actually so are end-users. I think that both concepts have their own ups and downs. Depending on the requirements MDI is sometimes better than tabbed UI.
SAKryukov at 21-Mar-11 23:29pm
   
Tabbed MDI is not MDI in its original sense. I disagree, but there is such thing as imprinting...
--SA
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

This CodeProject article simulates MDI in WPF: Multiple Window Interface for WPF[^].
 
Do not use MDI! This is the worse UI style, highly discourages practically be everyone. This is one of the most inconvenient designs all UI ever invented. You will only scare off your customers. Use design based on a single main window: tabbing interface, for example. (See Tabbed MDI in WPF[^].)
 
—SA
  Permalink  
v2
Comments
John Simmons / outlaw programmer at 21-Mar-11 14:50pm
   
Yeah, yeah, blah blah... MDI has its uses, and the removal of MDI from VS2010 is one of the most irritating things for me...
SAKryukov at 21-Mar-11 23:28pm
   
"Has its uses" is insufficient argument to me. I did not notice MDE was even removed. Interesting fact...
Thank you.
--SA
SAKryukov at 22-Mar-11 1:13am
   
I just checked up: it's supported by VS 2010, rejoice (see my comment below)...
--SA
John Simmons / outlaw programmer at 22-Mar-11 14:31pm
   
No it's not. What VS2010 allows is floating windows - NOT MDI.
Vishal Misal at 22-Mar-11 1:01am
   
Is it really like that??? Doesn't Visual Studio 2010 support MDI at all???
SAKryukov at 22-Mar-11 1:07am
   
I never tried, can check up...
--SA
SAKryukov at 22-Mar-11 1:13am
   
Supported, supported; see Form.IsMdiContainer, Form.MdiParent, etc.
--SA
Vishal Misal at 22-Mar-11 2:34am
   
Thanks..bt d point is how do we use MDI in WPF??
SAKryukov at 22-Mar-11 13:36pm
   
See the referenced article. It works. Ask the author the further question. Better yet -- don't do it.
--SA
SAKryukov at 22-Mar-11 13:37pm
   
Sorry, let me fix the reference...
--SA
SAKryukov at 22-Mar-11 13:52pm
   
OK, I fixed the Answer. Please see the other reference.
But better, don't. Use tabbing or something.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 386
1 Marcin Kozub 225
2 Sergey Alexandrovich Kryukov 215
3 Maciej Los 169
4 /\jmot 169
0 OriginalGriff 8,289
1 Sergey Alexandrovich Kryukov 7,407
2 DamithSL 5,624
3 Maciej Los 4,989
4 Manas Bhardwaj 4,986


Advertise | Privacy | Mobile
Web03 | 2.8.1411023.1 | Last Updated 15 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100