I have simple CollectionView to show vertically pictures. The CollectionView is binded to string list. I want to show the pictures in the middle of the screen. But they come always at the top of the screen. Here is my xaml:
<CollectionView ItemsSource="{Binding Pictures}" HorizontalOptions="Center" VerticalOptions="Center">
<CollectionView.ItemTemplate>
<DataTemplate>
<StackLayout Padding="10" HorizontalOptions="Center" VerticalOptions="Center">
<Image Source="{Binding .}"/>
</StackLayout>
</DataTemplate>
</CollectionView.ItemTemplate>
</CollectionView>
Important: the count of the pictures is not always the same.