I have a little app that creates XAML for a type that shows all properties for a class. This allows me to use this in Xamarin in a Grid.
As part of the code generation it creates a row for each property. I then have the background BindingContext which is set during a ListView selectedItem. This works well except that I have a class that has 9 properties. The code sets the row and column for each property and that works .... until the Row number is 8. At this point the property no longer shows.
I have done the following to see what happens.
Added a BackgroundColor to see the Grid and it shows the in rest of my phone below the ListView.
Added a bunch of RowDefinitions (about 5 more) just to check if I did not have enough rows.
Changed the Row of the last property to 7 and then the property name for the last property overwrites the previous row's info.
The value of the last property to show was a ListView so I changed it so that it didn't exist and the last entry showed.
I have no idea what is happening. It seems to be because I present a ListView and as soon as I either change it or delete it the last. Since I am just using a grid I have no idea why this is.