title: XAML WPF how to stretch the frame to fill the window
body: <p>The title it's quite descriptive.
  I have the frame of a page which I want to stretch to fill the window.
  I'd be thankful if someone could give me a heads up on what I should be doing.
  Here is my XAML code:</p>
  
  <pre><code>&lt;Page x:Class="testWPF.CameraPage"
        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" 
        xmlns:controls="clr-namespace:LightBuzz.Vitruvius.Controls;assembly=LightBuzz.Vitruvius"
        mc:Ignorable="d" 
        Height="1920" Width="1080"
        d:DesignHeight="1920" d:DesignWidth="1080"
        Title="Camera"
        Unloaded="Page_Unloaded"&gt;
      &lt;Grid&gt;
          &lt;Grid.RowDefinitions&gt;
              &lt;RowDefinition Height="Auto" /&gt;
              &lt;RowDefinition /&gt;
          &lt;/Grid.RowDefinitions&gt;
          &lt;controls:KinectViewer HorizontalAlignment="Stretch" x:Name="viewer" VerticalAlignment="Stretch" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch"/&gt;
          &lt;Frame HorizontalAlignment="Stretch" VerticalAlignment="Stretch" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch" Name="frame2" NavigationUIVisibility="Hidden"/&gt;
      &lt;/Grid&gt;
  &lt;/Page&gt;
  </code></pre>