title: Spacing between child controls in WPF Grid
body: <p>I have a set of Key/Value pairs I want to display on a WPF Window. I'm using a grid to lay them out like so:</p>
  
  <pre><code>&lt;Grid Margin="4"&gt;
      &lt;Grid.ColumnDefinitions&gt;
          &lt;ColumnDefinition Width="Auto"/&gt;
          &lt;ColumnDefinition/&gt;
      &lt;/Grid.ColumnDefinitions&gt;
      &lt;Grid.RowDefinitions&gt;
          &lt;RowDefinition Height="Auto"/&gt;
          &lt;RowDefinition Height="Auto"/&gt;
      &lt;/Grid.RowDefinitions&gt;
  
      &lt;Label Grid.Row="0" Grid.Column="0"&gt;Code&lt;/Label&gt;
      &lt;TextBox Grid.Row="0" Grid.Column="1" Text="{Binding Code}"/&gt;
  
      &lt;Label Grid.Row="1" Grid.Column="0"&gt;Name&lt;/Label&gt;
      &lt;TextBox Grid.Row="1" Grid.Column="1" Text="{Binding Name}"/&gt;
  &lt;/Grid&gt;
  </code></pre>
  
  <p>However when I display this, the TextBoxes are squashed up with their top and bottom borders touching the TextBox above/below. What is the best way to add vertical space to the rows in this layout?</p>