xamarin forms set grid row in code code example
Example 1: xamarin forms set the grid row property of an element programmatically
tblock.SetValue(Grid.RowProperty, 4);
Example 2: xamarin forms set the grid row property of an element programmatically
Grid.SetRow(tblock, 4);