Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?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="XamarinFormsData.Views.OrdersPage"
- Title="Заказы"
- Padding="10,20,20,10">
- <ListView ItemsSource="{Binding Orders}"
- HasUnevenRows="True" >
- <ListView.ItemTemplate>
- <DataTemplate>
- <ViewCell>
- <ViewCell.View>
- <StackLayout Orientation="Horizontal">
- <StackLayout>
- <Label Text="№ заказа:" />
- <Label Text="Дата:" />
- <Label Text="Наименование:" />
- <Label Text="Цена:" />
- <Label Text="Количество:" />
- <Label Text="Сумма:" />
- <Label Text="Статус:" />
- </StackLayout>
- <StackLayout>
- <Label Text="{Binding Number}" />
- <Label Text="{Binding Date}" />
- <Label Text="{Binding Name}" />
- <Label Text="{Binding Price}" />
- <Label Text="{Binding Quantity}" />
- <Label Text="{Binding Summ}" />
- <Label Text="{Binding Status}" />
- </StackLayout>
- </StackLayout>
- </ViewCell.View>
- </ViewCell>
- </DataTemplate>
- </ListView.ItemTemplate>
- </ListView>
- </ContentPage>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement