-
Notifications
You must be signed in to change notification settings - Fork 1.7k
/
Issue7357.xaml
35 lines (30 loc) · 1.73 KB
/
Issue7357.xaml
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
<?xml version="1.0" encoding="utf-8" ?>
<controls:TestContentPage
xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://xamarin.com/schemas/2014/forms/design"
xmlns:controls="clr-namespace:Xamarin.Forms.Controls"
mc:Ignorable="d" x:Class="Xamarin.Forms.Controls.Issues.Issue7357">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="50"/>
<RowDefinition Height="50"/>
<RowDefinition/>
</Grid.RowDefinitions>
<Label Grid.Row="0" HorizontalTextAlignment="Center" VerticalTextAlignment="Center" Text="Verify that item 49 has spacing below it." Margin="15,0"/>
<Label Grid.Row="1" HorizontalTextAlignment="Center" VerticalTextAlignment="Center" Text="Verify that item 99 has NO spacing below it." Margin="15,0"/>
<CollectionView x:Name="CollectionView7357" Grid.Row="2" ItemsSource="{Binding ItemsSource}" RemainingItemsThreshold="5" RemainingItemsThresholdReached="CollectionView_RemainingItemsThresholdReached">
<CollectionView.ItemsLayout>
<LinearItemsLayout Orientation="Vertical"/>
</CollectionView.ItemsLayout>
<CollectionView.ItemTemplate>
<DataTemplate>
<ContentView HeightRequest="100" BackgroundColor="{Binding BackgroundColor}">
<Label Text="{Binding Text}" HorizontalTextAlignment="Center" VerticalTextAlignment="Center"/>
</ContentView>
</DataTemplate>
</CollectionView.ItemTemplate>
</CollectionView>
</Grid>
</controls:TestContentPage>