title: Wpf: Grid: How can i share column/row height width?
body: <p>I have a grid with 3 columns and 5 rows:</p>
  
  <pre><code>&lt;Grid&gt;
      &lt;Grid.ColumnDefinitions&gt;
          &lt;ColumnDefinition Width="Auto"/&gt;
          &lt;ColumnDefinition Width="Auto"/&gt;
          &lt;ColumnDefinition Width="Auto"/&gt;
      &lt;/Grid.ColumnDefinitions&gt;
  
      &lt;Grid.RowDefinitions&gt;
          &lt;RowDefinition/&gt;
          &lt;RowDefinition/&gt;
          &lt;RowDefinition/&gt;
          &lt;RowDefinition/&gt;
          &lt;RowDefinition/&gt;
      &lt;/Grid.RowDefinitions&gt;
  
      &lt;Label Grid.Row="0" Grid.Column="0"&gt;Gas Volume Fraction&lt;/Label&gt;
      &lt;TextBox Grid.Row="0" Grid.Column="1" Text="{Binding Path=GasVolumeFraction}" MinWidth="40"&gt;&lt;/TextBox&gt;
      &lt;Label Grid.Row="0" Grid.Column="2"&gt;-&lt;/Label&gt;
  
      &lt;Label Grid.Row="1" Grid.Column="0"&gt;Density&lt;/Label&gt;
      &lt;TextBox Grid.Row="1" Grid.Column="1" Text="{Binding Path=Density}" MinWidth="40"&gt;&lt;/TextBox&gt;
      &lt;Label Grid.Row="1" Grid.Column="2"&gt;kg/m3&lt;/Label&gt;
  
      &lt;Label Grid.Row="2" Grid.Column="0" Content="Curve speed" Style="{StaticResource curveSpeed}" &gt;&lt;/Label&gt;
      &lt;TextBox Grid.Row="2" Grid.Column="1" Text="{Binding Path=Density}" Style="{StaticResource curveSpeed}" MinWidth="40"&gt;&lt;/TextBox&gt;
      &lt;Label Grid.Row="2" Grid.Column="2" Style="{StaticResource curveSpeed}"&gt;rpm&lt;/Label&gt;
  
      &lt;WrapPanel Grid.Row="3" Grid.Column="0" Grid.ColumnSpan="3"&gt;
          &lt;RadioButton&gt;Delta pressure&lt;/RadioButton&gt;
          &lt;RadioButton&gt;Head&lt;/RadioButton&gt;
      &lt;/WrapPanel&gt;
  
      &lt;WrapPanel Grid.Row="4" Grid.Column="0" Grid.ColumnSpan="3"&gt;
          &lt;RadioButton&gt;Efficiency&lt;/RadioButton&gt;
          &lt;RadioButton&gt;Power&lt;/RadioButton&gt;
          &lt;RadioButton&gt;Torque&lt;/RadioButton&gt;
      &lt;/WrapPanel&gt;
  
  &lt;/Grid&gt;
  </code></pre>
  
  <p>The textboxes and radiobuttons have different space requirements, which makes the rows render with different heights based on their content. How can I make the rows evenly sized, but not larger than whats necessary? In other words: I want the same height as setting Height="Auto" for a row which contains a textbox (the biggest element in my grid) and then use that height for all the rows.</p>