Kopīgot, izmantojot

Xamarin.Forms CollectionView Tutorial

Before attempting this tutorial, you should have successfully completed the:

In this tutorial, you learn how to:

  • Create a Xamarin.Forms CollectionView in XAML.
  • Populate the CollectionView with data.
  • Respond to CollectionView items being selected.
  • Customize the appearance of CollectionView items.

You will use Visual Studio 2019, or Visual Studio for Mac, to create a simple application that demonstrates how to customize the appearance of a CollectionView. The following screenshots show the final application:

Screenshot of a CollectionView whose items are templated with a data template