title: C# WPF Window Width, MaxWidth, MinWidth ignored
body: <p>I have a WPF Window defined in XAML like this:</p>
  
  <pre><code>&lt;Window x:Class="com.some.company.window"
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  Title="My Cool Window" 
  x:Name="CoolWindow"
  Height="435"
  Width="70"
  MinWidth="70"
  MaxWidth="70"
  Left="{PropertyState Default=0}"
  Top="{PropertyState Default=0}"
  Initialized="InitializeWindow"
  ResizeMode="NoResize"  
  Style="{DynamicResource DefaultWindow}"&gt;
  .....
  .....
  &lt;/Window&gt;
  </code></pre>
  
  <p>The problem is that when the Window is created and displayed on the screen - it is ALWAYS larger than the 70 pixels I specified in the width definition. The width is probably 80-90 pixels. My width attributes are ignored. None of the contents inside the Window are larger than 70 pixels either.</p>
  
  <p>Even when I try to resize the window with the grips, it will not let me resize it below a specific width. Is there some reason WPF is not letting me set the width of the window smaller? Is there a hidden minimum width value for every window? and how would I get around this?</p>
  
  <p>EDIT:
  When I add WindowsStyle="None" into the Window attribute, the width is correctly set to 70 pixels. However, this is not the style I want for the Window.</p>
  
  <p>Thanks</p>