title: Dynamically Add Grid UWP
body: <p>I want to add a grid and its contents on runtime. The Grid is as follows. How can I add this from Code Behind?</p>
  
  <pre><code>&lt;Grid Width="200" Height="50" Margin="0,50,0,0"&gt;
      &lt;Grid.ColumnDefinitions&gt;
          &lt;ColumnDefinition Width="Auto"/&gt;
          &lt;ColumnDefinition Width="Auto"/&gt;
          &lt;ColumnDefinition Width="*"/&gt;
      &lt;/Grid.ColumnDefinitions&gt;
      &lt;CheckBox Grid.Column="0" Name="chkBox" MinWidth="32" HorizontalAlignment="Left" Background="Transparent"/&gt;
      &lt;TextBlock Grid.Column="1" Text="Name" FontSize="16" HorizontalAlignment="Left" VerticalAlignment="Center"/&gt;
      &lt;TextBox Grid.Column="2" Name="txtBx" FontSize="16" HorizontalAlignment="Right" VerticalAlignment="Center"/&gt;
  &lt;/Grid&gt;
  </code></pre>