I receive an error when setting the Content property of a Page, if that content contains a SfDataGrid in a ContentView, which in turn is part of another ContentView. I have attached an example project to better illustrate the issue.
The problem only occurs when I set the HeightRequest to the full height of the Grid, which is calculated by multiplying the rows by the row height, and adding in the header row height.
Furthermore, the issue only appears when the Content of the page is being replaced, for example when setting the Content to the Grid to replace an activity indicator.
This used to work fine in Xamarin Forms 4.x, but after upgrading to 5.0, I see the error.