Xamarin Boxview, I have defined the grid using xaml and the behaviour in the c# file.