I've tried creating a customly chromed window in wpf using WindowStyle None, and AllowsTransparency True, however, when I maximize the window it covers the entire screen (and goes beond it's edges, it also hides the Windows-bar at the bottom of my screen, just like a game in fullscreen). How can I make the behaviour like a normal window, but with my own customly made wpf-chrome?
Customly chromed Windows in wpf
3.4k Views Asked by Alxandr AtThere are 3 best solutions below

It is the default property of the windows, when you maximize it will cover all the screen area including the Window Bar at the bottom. This is will happen only if you are setting WindoStyle to None (otherwise it will not cover the entire area). To avoid that pls use something like this in your maximize evnt so that you will get the actual work area.
Instead of setting the windowState= WindowStat.Maximized change the height and width of the window and change the image of the Maximize to Restore and viceversa.
window.Left=0;
window.Top=0;
window.Height=SystemParameters.WorkArea.Height;
window.Width=SystemParameters.WorkArea.Width;
Hopes this helps.

If you're not actually using the AllowsTransparency part, the WPF Shell Integration Library may work for you: http://code.msdn.com/WPFShell. The link on that page to the WPF SDK blog post describes what it's doing.
I found a solution, it required some win32 interop though. Not very pretty, but it works.