.Net Maui spacing within collection view

Brenden Jacobson 6 Reputation points
2022-08-03T08:04:37.587+00:00

I am having some trouble formatting items in a collection view.

  • How do I set the spacing between elements in a collection view (see the attached file for the XAML) ? I always seem to end up with double spacing.
  • Also how do I get the new items to appear at the bottom of the view? ItemsUpdatingScrollMode="KeepLastItemInView" does not seem to work. As a work around I have tried adding new items to the front of the list. This sort of works, but looks a bit wierd (It does not work on Android by the way)

Thanks

.

227537-collectionview.txt227430-messages.png

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,920 questions
{count} votes