I wanted to do a WPF Window and build a custom TitleBar
without having to reimplement all the code and behaviour myself...
Only problem is that even setting the Borderthickness
to "0" will leave a small
border on the top of the window.
Is there any way to get rid of that by not using WindowStyle = "None"
?
Thanks for you help!
You don't have to implement the resizing functionality yourself if you use the WindowChrome class.
Please refer to the documenation and the following blog post for more information: https://blogs.msdn.microsoft.com/wpfsdk/2010/08/25/experiments-with-windowchrome/