Click here to Skip to main content
11,796,774 members (80,555 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: WPF
Does WPF support Multiple Document Interface ??
Posted 21-Mar-11 3:33am
Rate this: bad
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:[^].
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.
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...
Rate this: bad
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[^].)

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.
SAKryukov at 22-Mar-11 1:13am
I just checked up: it's supported by VS 2010, rejoice (see my comment below)...
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...
SAKryukov at 22-Mar-11 1:13am
Supported, supported; see Form.IsMdiContainer, Form.MdiParent, etc.
Vishal Misal at 22-Mar-11 2:34am 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.
SAKryukov at 22-Mar-11 13:37pm
Sorry, let me fix the reference...
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.

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

  Print Answers RSS
0 Abhinav S 379
1 OriginalGriff 360
2 Maciej Los 360
3 CPallini 295
4 KrunalRohit 280
0 OriginalGriff 2,032
1 Maciej Los 1,725
2 KrunalRohit 1,310
3 CPallini 1,055
4 ppolymorphe 883

Advertise | Privacy | Mobile
Web02 | 2.8.151002.1 | Last Updated 15 Jan 2013
Copyright © CodeProject, 1999-2015
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