title: Making a WPF Windows completely resizable
body: <p>I'm updating a WPF in a project.  As I received it, here is how the base window is specified:</p>
  
  <pre><code>&lt;Window x:Class="SomeProject.ButtonForm"
          xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
          xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
          xmlns:local="clr-namespace:SomeProject" 
          Title="ButtonForm" Height="647" Width="379" WindowStyle="None" ResizeMode="CanResizeWithGrip" 
          SnapsToDevicePixels="True" ShowInTaskbar="False" WindowStartupLocation="CenterScreen"
          SizeChanged="Resized" Closing="Window_Closing" AllowsTransparency="True" &gt;
  </code></pre>
  
  <p>Some main things are that <code>WindowStyle</code> is <code>None</code>, <code>ResizeMode</code> is <code>CanResizeWithGrip</code> and <code>AllowsTransparency</code> is <code>True</code>.</p>
  
  <p>What I would like to do is make this window resizable from all four edges without grips.  Is there a way to do this directly in the markup?  I've seen some projects that implement this, but they involve whole separate files and complicated code-behind.  Certainly there is a simpler way.</p>