c# grid shift number places 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);