Programmatically use the positioning methods of Grid