Hello @Newbie Dev ,
Welcome to our Microsoft Q&A platform!
It's not recommended to use a CollectionView
inside a ScollView
, which may cause some scrolling issues. To display the collection items, try using BindableLayout
instead. BindableLayout
class provides ItemsSource
and ItemTemplate
properties that could help display the data.
<ScrollView>
<StackLayout x:Name="parentLayout">
<StackLayout BindableLayout.ItemsSource="{Binding DataCollection}">
<BindableLayout.ItemTemplate>
<DataTemplate>
<!--the item content-->
</DataTemplate>
</BindableLayout.ItemTemplate>
</StackLayout>
<!--other content-->
</StackLayout>
</ScrollView>
Best Regards,
Jarvan Zhang
If the response is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.