title: Wpf WindowsFormsHost downscales / shrinks winforms usercontrol
body: <p>I have a WinForms UserControl in a dll that has it's max size and min size set to 600x500. </p>
  
  <p>when presented in a win forms application then these are the dimensions it takes / all is good. </p>
  
  <p>but when i try to use that winforms usercontrol in wpf using a <a href="http://msdn.microsoft.com/en-us/library/system.windows.forms.integration.windowsformshost.aspx" rel="nofollow">windowsformshost</a>:</p>
  
  <ul>
  <li>i put the windowsformshost in a wpf grid</li>
  <li>the dimensions of the whole windowsformshost is nicely 600x500</li>
  <li>but the usercontrol inside the windowsformshost is shrunk a bit, not much, by about 10 pixels or so</li>
  <li>the winforms usercontrol is aligned top left inside the windowsformshost, and there is some white space bottom side and right side of the windowsformshost because the winforms usercontrol is shrunk</li>
  <li>and it does not matter how much space i give the windowsformshost, the windowsformshost is 600x500, while the winforms usercontrol inside is downscaled</li>
  </ul>
  
  <p>How to get the winforms usercontrol to be displayed at its intended size of 600x500 ?</p>
  
  <p></p>
  
  <pre><code>&lt;Grid Background="Black"&gt;
      &lt;Grid.RowDefinitions&gt;
          &lt;RowDefinition Height="1*"/&gt;
          &lt;RowDefinition Height="10*"/&gt;
          &lt;RowDefinition Height="10*"/&gt;
          &lt;RowDefinition Height="1*"/&gt;
      &lt;/Grid.RowDefinitions&gt;
      &lt;Grid.ColumnDefinitions&gt;
          &lt;ColumnDefinition Width="1*"/&gt;
          &lt;ColumnDefinition Width="10*"/&gt;
          &lt;ColumnDefinition Width="10*"/&gt;
          &lt;ColumnDefinition Width="1*"/&gt;
      &lt;/Grid.ColumnDefinitions&gt;
      &lt;Grid Name="_scale" Grid.Row="1" Grid.Column="1" Grid.RowSpan="2"&gt;
          &lt;WindowsFormsHost Name="_scaleHost" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"&gt;
          &lt;/WindowsFormsHost&gt;
      &lt;/Grid&gt;
      &lt;Grid Name="_stimuli" Grid.Row="2" Grid.Column="2" Grid.RowSpan="2"&gt;
              &lt;l:LAMscale&gt;
              &lt;/l:LAMscale&gt;
      &lt;/Grid&gt;
  &lt;/Grid&gt;
  </code></pre>
  
  <p></p>