Skip to content

Instantly share code, notes, and snippets.

@dhindrik
Created August 3, 2020 20:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dhindrik/5f723e6b5cc8f10efd9b229f76e1b5b3 to your computer and use it in GitHub Desktop.
Save dhindrik/5f723e6b5cc8f10efd9b229f76e1b5b3 to your computer and use it in GitHub Desktop.
<CollectionView ItemSource="{Binding Items}">
<CollectionView.ItemTemplate>
<DataTemplate x:DataType="models:Person">
<StackLayout>
<Label Text="{Binding Name, Mode=OneTime}" />
<Label Text="{Binding Email, Mode=OneTime}" />
<label Text="{Binding Count}" />
</DataTemplate>
</CollectionView.ItemTemplate>
</CollectionView>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment