summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla32842.xaml
blob: c38aea00c3503fc8843b0da85cd67eca59e5092b (plain)
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?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.Issues.Bugzilla32842">


    <StackLayout VerticalOptions="Fill">
      <Label x:Name="Instructions" Text="Tap on a box in the list below. The Box Taps number should equal 1 and the List Item Selections number should equal 0. If either number is incorrect, this test has failed."></Label>

      <ListView x:Name="MainList" VerticalOptions="Fill">
        <ListView.ItemTemplate>
          <DataTemplate>
            <ViewCell>
              <StackLayout Orientation="Horizontal" Padding="5" HeightRequest="75" BackgroundColor="Red">
                <BoxView Color="Teal" WidthRequest="75" HeightRequest="75">
                  <BoxView.GestureRecognizers>
                    <TapGestureRecognizer
                      Tapped="BoxTapped"
                      NumberOfTapsRequired="1"/>
                  </BoxView.GestureRecognizers>
                </BoxView>
              </StackLayout>
            </ViewCell>
          </DataTemplate>
        </ListView.ItemTemplate>
      </ListView>

      <StackLayout Orientation="Horizontal">
        <Label Text="">List Item Selections: </Label>
        <Label x:Name="ListResults" Text=""></Label>
      </StackLayout>
      <StackLayout Orientation="Horizontal">
        <Label Text="">Box Taps: </Label>
        <Label x:Name="BoxResults" Text=""></Label>
      </StackLayout>



    </StackLayout>

  
</ContentPage>