title: How to make title bar disappear in WPF window?
body: <p>I know this has been asked before but I've tried answers:</p>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/611298/how-to-create-a-wpf-window-without-a-border-that-can-be-resized-via-a-grip-only">How to create a WPF Window without a border that can be resized via a grip only?</a></li>
  <li><a href="https://stackoverflow.com/questions/8918518/how-to-remove-the-title-bar-from-a-window-but-keep-the-border">How to remove the title bar from a window but keep the border</a></li>
  </ul>
  
  <p>and neither work, the title bar text sits there and im unable to move my grid up to the top of the window so that the grid takes up the whole window. I' am stuck on this.</p>
  
  <p>The XAML for the window :</p>
  
  <pre><code>&lt;Window x:Class="PlayWPF.TimerSlideWindow"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      Title="" Height="95" Width="641" WindowStyle="None" 
      ResizeMode="CanResize" AllowsTransparency="False"&gt;
     &lt;Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch"&gt;
         &lt;Slider Height="42" HorizontalAlignment="Left" Margin="10,14,0,0" 
                 Name="sldTime" VerticalAlignment="Top" Width="495" /&gt;
         &lt;TextBox FontSize="18" Height="29" HorizontalAlignment="Left" 
                  Margin="510,10,0,0" Name="txtTime" Text="00:00:00" 
                  TextAlignment="Center" VerticalAlignment="Top" Width="93" /&gt;
     &lt;/Grid&gt;
  &lt;/Window&gt;
  </code></pre>