title: MinWidth, MaxWidth, MinHeight, MaxHeight don't have effect for <UserControl>
body: <p>I'm learning to create WPF application with Caliburn Micro framework.</p>
  
  <p>Following the tutorial on the homepage: <a href="http://caliburnmicro.com/documentation/configuration" rel="nofollow noreferrer">Basic Configuration</a>, I removed the default generated <code>&lt;Window&gt;</code> xaml, instead, I have <code>&lt;UserControl&gt;</code> xaml and bootstrap it via my <code>AppBoostrapper</code>.</p>
  
  <p>Here is the MainView.xaml:</p>
  
  <pre><code>&lt;UserControl x:Class="SmartRenamer.Views.MainView"
               xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
               xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
               xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
               xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
               mc:Ignorable="d" 
               d:DesignHeight="300" d:DesignWidth="300"
               MinHeight="300"
               MinWidth="300"
               MaxHeight="500"
               MaxWidth="1000"&gt;
      &lt;Grid&gt;
          &lt;Grid.RowDefinitions&gt;
              &lt;RowDefinition Height="Auto" /&gt;
              &lt;RowDefinition Height="*" /&gt;
          &lt;/Grid.RowDefinitions&gt;
          &lt;Menu IsMainMenu="True" Grid.Row="0"&gt;
              &lt;MenuItem Header="_File"&gt;
                  &lt;MenuItem Header="_Open Folder..." x:Name="OpenFolder"&gt;&lt;/MenuItem&gt;
              &lt;/MenuItem&gt;
              &lt;MenuItem Header="_About" /&gt;
          &lt;/Menu&gt;
          &lt;ScrollViewer HorizontalScrollBarVisibility="Visible" Grid.Row="1" MaxHeight="500" MaxWidth="1000"&gt;
              &lt;StackPanel&gt;
                  &lt;DataGrid x:Name="FilesList"&gt;
  
                  &lt;/DataGrid&gt;
              &lt;/StackPanel&gt;
          &lt;/ScrollViewer&gt;
      &lt;/Grid&gt;
  &lt;/UserControl&gt;
  </code></pre>
  
  <p><strong>The problem is I want to set the <code>MinWidth, MaxWidth, MinHeight, MaxHeight</code> for my application, but it seems that those configuration in the <code>MainWindow.xaml</code> isn't working.</strong></p>
  
  <p>Here is the two screenshots, where the window is still can be re-sized out of the defined range:</p>
  
  <p><img src="https://i.stack.imgur.com/mp2A5.png" alt="Very small window">
  <img src="https://i.stack.imgur.com/hJ7Rb.png" alt="Very big window">
  What am I wrong here?</p>