title: How to use WPF's asterisk size value in codebehind?
body: <p>I create some control in codebehind and would like to set its size dynamically.
  I can assign numerical values as well as <code>System.Windows.GridLength.Auto</code>, but there is no equivalent to <code>"*"</code>.<br>
  Is that because the <code>"*"</code> from XAML gets translated into code when the WPF gets parsed?</p>
  
  <p>To give this some detail: There is a grid with three rows. I want the top and bottom row to take all the space they can, while the middle row remains auto-sized.</p>