title: How to setup Row/Column Definitions in Xamarin.Forms Xaml?
body: <p>I managed to setup rows and columns from the code but couldn't move this settings to xaml:</p>
  
  <pre class="lang-cs prettyprint-override"><code>grid.RowDefinitions = new RowDefinitionCollection { 
      new RowDefinition { Height = new GridLength(1, GridUnitType.Star) } 
  };
  grid.ColumnDefinitions = new ColumnDefinitionCollection { 
      new ColumnDefinition { Width = new GridLength(1, GridUnitType.Star) } 
  };
  </code></pre>
  
  <p>The following doesn't work:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;Grid x:Name="grid" VerticalOptions="FillAndExpand" HorizontalOptions="FillAndExpand"&gt;
      &lt;Grid.RowDefinitions&gt;
        &lt;RowDefinition Height="*"/&gt;
      &lt;/Grid.RowDefinitions&gt;
      &lt;Grid.ColumnDefinitions&gt;
        &lt;ColumnDefinition Width="*"/&gt;
      &lt;/Grid.ColumnDefinitions&gt;
      ...
  &lt;/Grid&gt;
  </code></pre>
  
  <p>From the <a href="http://iosapi.xamarin.com/?link=T%3aXamarin.Forms.Grid" rel="noreferrer">documentation</a> I managed to fetch only c# implementation</p>