Forum Xamarin.Forms


The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

Scrollview is not working in xamarin forms?

sagarsagar Member ✭✭✭
edited November 2019 in Xamarin.Forms

I am working on xamarin forms. Where I have one content page with a few fields which I have added using Entry tag. Fields are more so I have added a scroll view to the entire content page. In one of the field, I am having ListView there so many list items which are binding dynamically, Now scroll for list items is not working because I am using scrollview for the entire page. If I remove scrollview for the page scroll working for listItems but I have many fields
I need a scroll for the page also. My code for the entire page here scroll for listitems not working, If I remove scrvollview scroll will work for items but not for fields. How do I come out of this?


    <StackLayout Margin="5,5,5,5">

        <Frame  BorderColor="#2c3e50"  HeightRequest="20" HasShadow="true" CornerRadius="30" >
                <TapGestureRecognizer  NumberOfTapsRequired="1"  Tapped="fn_ProviderUser_ExpandSkills" />
            <StackLayout Orientation="Horizontal">
                <Label x:Name="lbl_ProviderInformation_Skills" HorizontalOptions="Center" Text="Assign single / multiple skills"/>
                <Image x:Name="Img_ProviderInformation_RolesArrow" Source="downarrow.png"  HeightRequest="20" WidthRequest="30" HorizontalOptions="EndAndExpand"/>
        <StackLayout x:Name="stk_ProviderUserInformation_Skills"  Padding="15,0,0,0" HeightRequest="0">
            <SearchBar Placeholder="Type to Search"  />
            <ListView HasUnevenRows="true" x:Name="lst_ProviderUserInformation_Skills" ItemsSource="{Binding G_liMySkills}" CachingStrategy="RecycleElement" >
                                    <input:CheckBox Type="Check" x:Name="{Binding SkillID}" ClassId="{Binding SkillID}"  Text="{Binding SkillName}" CommandParameter="{Binding SkillID}"  />


Sign In or Register to comment.