添加项目文件。
This commit is contained in:
30
XXCpzs/Views/PageCustomer.xaml
Normal file
30
XXCpzs/Views/PageCustomer.xaml
Normal file
@@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
xmlns:d="http://xamarin.com/schemas/2014/forms/design"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
mc:Ignorable="d"
|
||||
Title="{Binding Title}"
|
||||
x:Class="XXCpzs.Views.PageCustomer">
|
||||
<ContentPage.Content>
|
||||
<StackLayout>
|
||||
<ListView x:Name="ContextDemoList" VerticalOptions="FillAndExpand" BackgroundColor="SeaGreen">
|
||||
<ListView.ItemTemplate>
|
||||
<DataTemplate>
|
||||
<ViewCell>
|
||||
<ViewCell.ContextActions>
|
||||
<MenuItem Clicked="OnMore" CommandParameter="{Binding .}" Text="More" />
|
||||
<MenuItem Clicked="OnDelete" CommandParameter="{Binding .}" Text="Delete" IsDestructive="True" />
|
||||
</ViewCell.ContextActions>
|
||||
<StackLayout Padding="15,0">
|
||||
<Label Text="{Binding title}" />
|
||||
<Label Text="{Binding title}" />
|
||||
<Label Text="{Binding title}" />
|
||||
</StackLayout>
|
||||
</ViewCell>
|
||||
</DataTemplate>
|
||||
</ListView.ItemTemplate>
|
||||
</ListView>
|
||||
</StackLayout>
|
||||
</ContentPage.Content>
|
||||
</ContentPage>
|
||||
Reference in New Issue
Block a user