summaryrefslogtreecommitdiff
path: root/PagesGallery/PagesGallery/EventsPage.xaml
diff options
context:
space:
mode:
Diffstat (limited to 'PagesGallery/PagesGallery/EventsPage.xaml')
-rw-r--r--PagesGallery/PagesGallery/EventsPage.xaml17
1 files changed, 17 insertions, 0 deletions
diff --git a/PagesGallery/PagesGallery/EventsPage.xaml b/PagesGallery/PagesGallery/EventsPage.xaml
new file mode 100644
index 00000000..2d7abafd
--- /dev/null
+++ b/PagesGallery/PagesGallery/EventsPage.xaml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<p:ListDataPage xmlns="http://xamarin.com/schemas/2014/forms"
+ xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
+ xmlns:p="clr-namespace:Xamarin.Forms.Pages;assembly=Xamarin.Forms.Pages"
+ x:Class="PagesGallery.EventsPage"
+ Title="Events"
+ DetailTemplate="{StaticResource EventDetailTemplate}"
+ Style="{StaticResource EventPageStyle}">
+ <p:DataPage.DataSource>
+ <p:JsonDataSource Source="http://demo7391822.mockable.io/events" />
+ </p:DataPage.DataSource>
+ <p:DataPage.DefaultItemTemplate>
+ <DataTemplate>
+ <TextCell Text="{Binding Value[name]}" Detail="{Binding Value[presenter]}" />
+ </DataTemplate>
+ </p:DataPage.DefaultItemTemplate>
+</p:ListDataPage> \ No newline at end of file