title: WPF: Binding the height of a component to another's
body: <p>I have, in a window, a <code>Grid</code> that contains a <code>RadioButton</code>, a <code>TextBox</code> and a <code>Button</code>, each in column 0, 1, 2, respectively. They all have their heights set to auto.</p>
  
  <p>Then, in another part of the window, I have another <code>Grid</code> with a <code>Label</code>, a <code>TextBox</code> and a <code>Button</code>, in columns 0, 1, and 2. Heights are also set to auto.</p>
  
  <p>The problem I have is that the first grid's height is smaller than the second's. I guess it's because Label is forcing the second one to be taller. How can I make it so that the first grid is as tall as the second? I tried doing this:</p>
  
  <p>Name the textbox in the second grid SomeName.<br>
  In the <code>&lt;Grid.ColumnDeclarations&gt;</code> of the first Grid, I changed Height from "auto" to "{Binding ElementName=SomeName, Path=Height}". </p>
  
  <p>But that didn't do what I wanted. The size was the same. I guess the Binding is basically getting "auto" and throwing it there, which ends up being the same thing.</p>
  
  <p>Also, I'm looking for a solution that doesn't involve setting the heights to a fixed value.</p>