Click here to Skip to main content
15,920,005 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi I am developing one sample application by using WPF MDI. I used User Control as child form. It works fine but I am getting child forms titlebar and its border so it occupies space in MDIContainer. I want to remove that space. So anyone can help me to remove that space?

Please see image : Image[^]

What I have tried:

I have tried to set mdi container margin=0, i have tried to set borderbrush and other thing also but nothing is useful.
Updated 5-Feb-18 20:18pm
Graeme_Grant 6-Feb-18 0:22am    
WPF does not have MDI support. Has navigation frame support instead. Are you using a 3rd party library?
gautam solanki 6-Feb-18 0:33am    
Yes i am using WPF.MDI.dll
So can you please give me solution for that?
Graeme_Grant 6-Feb-18 1:25am    
You need to contact the author for help.
gautam solanki 6-Feb-18 1:41am    

Check out: MahApps.Metro Documentation[^] and GitHub - ButchersBoy/Dragablz: Dragable and tearable tab control for WPF[^] for a more modern MDI-like interface like Google Chrome as an alternative...
Share this answer
From what I can tell, WPF.MDI is a lookless control. This means that you can skin it pretty much anyway that you want. If I were you, I'd take a copy of one of the existing themes[^] and play around with that to get the effect I wanted.
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