-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathOrderListPage.xaml
More file actions
28 lines (28 loc) · 896 Bytes
/
OrderListPage.xaml
File metadata and controls
28 lines (28 loc) · 896 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?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="customerapp.OrderListPage">
<ListView
x:Name="OrderListView" >
<ListView.ItemTemplate>
<DataTemplate>
<ViewCell>
<StackLayout
Orientation="Vertical">
<StackLayout
Orientation="Horizontal"
Padding="10">
<Label
Text="{Binding OrderProducts.Count, StringFormat='{0} Products'}"
HorizontalOptions="StartAndExpand" />
<Label
Text="{Binding State}"
HorizontalOptions="End" />
</StackLayout>
</StackLayout>
</ViewCell>
</DataTemplate>
</ListView.ItemTemplate>
</ListView>
</ContentPage>