Click here to Skip to main content
14,173,730 members
Rate this:
 
Please Sign up or sign in to vote.
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.
Posted
Updated 5-Feb-18 20:18pm
Comments
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
   
Thanks
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

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...
   
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

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.
   

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Cookies | Terms of Service
Web01 | 2.8.190524.3 | Last Updated 6 Feb 2018
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid

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