title: Xamarin Forms Grid - Row height of "*" in C#?
body: <p>I know that you can set the row height with a "*" in XAML this way:</p>
  
  <pre><code> &lt;RowDefinition Height="Auto" /&gt;
   &lt;RowDefinition Height="*" /&gt;
  </code></pre>
  
  <p>but the same expression in C# returns an error:</p>
  
  <pre><code>new RowDefinition { Height = new GridLength("*", GridUnitType.Auto) },
  </code></pre>
  
  <p>So my question is how to set the row height of a grid to a "*" in C#?</p>