Click here to Skip to main content
15,910,603 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Am working on desktop based application in wpf in that i need MDI that all window will open on main dashboard. but till now how much i can search according to that there is no MDI like option in wpf bt i need that to implement in my project so if any one please help me to find some replacement as i can do that.. I also search with usercontrol this can be done but on that there is some problem like unable to work on the button events. so please suggest me something.

What I have tried:

I tried to Implement that via user control but that's not working in my system due to some requirement of my project.tell some alternative option
Posted
Updated 2-Dec-19 1:40am
Comments
[no name] 2-Dec-19 12:03pm    
All your "reasons" for not doing something were not reasons at all. Instead of just saying "I need MDI", you should specify what you want to accomplish and then people will suggest various techniques to accomplish the same thing. Its ALL smoke and mirrors regardless of what it's called.
JitChakraborty 2-Dec-19 23:57pm    
Actually i want to open all of xaml form inside a single xaml form.that may be in tabbed format. whenever i try to do that its saying that this is not supported a window can't open inside another window. so i want something mdi kind of think which is supported in
WinForms but due to my project requirement I am not able to choose that option so please help me out something

1 solution

WPF has no concept of MDI - this was deliberate as MS were trying to "kill" MDI altogether (and for good reason: it's a pretty bad design).

Your options are simple: use a Tabbed Document Interface (about as close to MDI as standard WPF gets), switch to WinForms which does support MDI, or use an external add on such as AvalonDock[^] - I've not tried it myself, but ...
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900