Created
July 20, 2017 00:56
-
-
Save pictos/70bf02c012dc2e21e5ed8ef50486f96c to your computer and use it in GitHub Desktop.
View Delelete Item
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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:local="clr-namespace:DeleteList" | |
x:Class="DeleteList.MainPage"> | |
<StackLayout> | |
<ListView ItemsSource="{Binding Lista}" SelectedItem="{Binding ItemSelecionado}"> | |
<ListView.ItemTemplate> | |
<DataTemplate> | |
<TextCell Text="{Binding Nome}" Detail="{Binding Idade}"/> | |
</DataTemplate> | |
</ListView.ItemTemplate> | |
</ListView> | |
<Button Text="Deletar" Command="{Binding DeletarCommand}"/> | |
</StackLayout> | |
</ContentPage> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment