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