Does anyone know how to have a borderless wpf window in .Net 3.5?
Basically I am trying to have the same window as in mahapps metro but in .net 3.5. When I try to use the borderless behavior in the mentioned library, I get a thick dark border around right/bottom side of the window.
I want to avoid AllowsTransparency and use hook messages instead
Try setting the
ResizeMovetoNoResizeorCanMinimize. This will remove the border.In that case you should implement your own shadow (not so hard – just put everything inside one
Borderwith desirable margin and set theDropShadowEffect).CanMinimizewill still allow you to resize the window, but you must still implement your own resizing.