title: WPF C#: Setting background color of a WPF app not setting fully
body: <p>I made a WPF app (WindowStyle="None" hence no default windows buttons like exit, maximize, minimize)</p>
  
  <p>It doesn't set the color (in my case, it's black) to the entire frame:
  <a href="https://i.stack.imgur.com/xuwV5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xuwV5.png" alt="Error"></a></p>
  
  <p>As you can see, there is a bit of white gap. (It's not a margin, I tested for this).</p>
  
  <pre><code>&lt;Window x:Class="FancyGUI.MainWindow"
          xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
          xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
          WindowStyle="None"
          Title="MainWindow" Height="250" Width="340"
          Background="Black"&gt;
  
  &lt;/Window&gt;
  </code></pre>