title: How do I set Frame.Content size to Frame size?
body: <p>I have a Frame in my XAML:</p>
  
  <pre><code>&lt;Frame Grid.Row="1" Content="{Binding MainContent}" Margin="8" NavigationUIVisibility="Hidden" /&gt;
  </code></pre>
  
  <p>The content is a Page which is set in the code, something like this:</p>
  
  <pre><code>MainContent = new MyPage();
  </code></pre>
  
  <p>I want to bind the width and height of <code>MyPage</code> to the width and height of the parent Frame. 
  The Frame is in a grid row, so will resize with the window.</p>