blob: 15479bd60ead6c172aa0ab78d8f2d3eee5a2d7f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<?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="Xamarin.Forms.Controls.Issue1766">
<ContentPage.Content>
<ListView ItemsSource="{Binding MyItems}" x:Name="MyListViewList">
<ListView.ItemTemplate>
<DataTemplate>
<ViewCell>
<StackLayout Orientation="Horizontal">
<Label Text="{Binding Reference}"/>
<Button Clicked="OnButtonClicked"
Text=">>>"
IsVisible="{Binding ShowButton}"/>
</StackLayout>
</ViewCell>
</DataTemplate>
</ListView.ItemTemplate>
</ListView>
</ContentPage.Content>
</ContentPage>
|