<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="BeautifulPlaces.App.Views.PlacesPage"
xmlns:controls="clr-namespace:BeautifulPlaces.App.Controls;assembly=BeautifulPlaces.App"
Title="Places">
<ScrollView>
<Grid Padding="{StaticResource PagePadding}">
<controls:ExtendedListView IsSelectionEnabled="False"
HasUnevenRows="True"
SeparatorVisibility="None"
ItemsSource="{Binding Places}">
<controls:ExtendedListView.ItemTemplate>
<DataTemplate>
<ViewCell>
<StackLayout Padding="0,2">
<Grid>
<Grid.GestureRecognizers>
<TapGestureRecognizer Command="{Binding SelectCommand}" />
</Grid.GestureRecognizers>
<StackLayout Grid.Column="0" Spacing="1">
<Label Text="{Binding Name }" FontSize="Medium" LineBreakMode="TailTruncation" />
<Label Text="{Binding Location}" LineBreakMode="TailTruncation" />
<Label Text="{Binding Description}" FontSize="Micro" LineBreakMode="TailTruncation" />
</StackLayout>
</Grid>
</StackLayout>
</ViewCell>
</DataTemplate>
</controls:ExtendedListView.ItemTemplate>
</controls:ExtendedListView>
</Grid>
</ScrollView>
</ContentPage>
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.