I don't know the main purpose of this but even if the collectionview's orientation was set as horizontal you can also scroll it vertically but in a minimum gap between the item up or down. I just want to disable it, but I can't find a solution in the documentation of Xamarin. By the way, my platform using is UWP.
Here's my code in Collection View part which wrapped by Grid control:
<Grid Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="2" BackgroundColor="White"> <Grid.RowDefinitions> <RowDefinition Height="*"/> </Grid.RowDefinitions> <CollectionView x:Name="CategoryCollectionView" ItemsSource="{Binding Subcategories}" SelectionMode="Single" ItemSizingStrategy="MeasureAllItems" ItemsLayout="HorizontalList" HorizontalScrollBarVisibility="Never" VerticalScrollBarVisibility="Never" SelectionChanged="CategoryCollectionView_SelectionChanged" Grid.Row="0"> <CollectionView.ItemTemplate> <DataTemplate> <Grid> <Grid.RowDefinitions> <RowDefinition Height="3*"/> <RowDefinition Height="*"/> </Grid.RowDefinitions> <Image Source="{Binding Image}" Grid.Row="0"/> <StackLayout Grid.Row="1" VerticalOptions="Start" HorizontalOptions="Center"> <Label Text="{Binding Name}"/> </StackLayout> </Grid> </DataTemplate> </CollectionView.ItemTemplate> </CollectionView> </Grid>