Remove border from right and bottom of WPF full-screen window

Creating a full-screen window in WPF is quite simple, you just have to set WindowState toMaximized and WindowStyle to None.
 
But in my current project, I was facing a little drawback: a border was still visible on the bottom and on the right side of my window.You will then end up with this windows:
<Window x:Class="lexiqueDuNet.com.Window1"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
       WindowState="Maximized" WindowStyle="None"  ResizeMode="NoResize" >
</Window>

你可能感兴趣的:(windows,Class,UP,border,WPF)