Click here to Skip to main content
15,670,442 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
In my Scrollview, Its width is thin by default, When hovering it, its width becomes normal.
But I want a customorized scrollview with a fixed width in xamarin or always default scroll
Both vertical and horizontal scroll
Any Suggestion Please

What I have tried:

<ScrollView VerticalScrollBarVisibility="Always" HorizontalScrollBarVisibility="Always" VerticalOptions="FillAndExpand" >
                                        <StackLayout
                                            Padding="0,0,0,0"
                                            BackgroundColor="{DynamicResource BrandComplementBackgroundColor}"
                                            HorizontalOptions="Fill"
                                            Orientation="Vertical"
                                            VerticalOptions="FillAndExpand"
                                            Parent="">
                                            <FlexLayout
                                                BackgroundColor="Red"
                                                BindableLayout.ItemsSource="{Binding ChipSetCollection}"
                                                Direction="Column"
                                                JustifyContent="Start">
                                                <BindableLayout.ItemTemplate>
                                                    <DataTemplate>
                                                        <views:ChipSetItemTemplate />
                                                    </DataTemplate>
                                                </BindableLayout.ItemTemplate>
                                            </FlexLayout>
                                        </StackLayout>
                                    </ScrollView>
Posted
Updated 17-Dec-21 8:13am
v49
Comments
#realJSOP 19-Dec-21 19:30pm    
The reason it does that is to allow the app to have more screen real estate. You should think long and hard before overriding standard interface characteristics.
Member 15471479 20-Dec-21 12:53pm    
yes i know it is hard but it was a customer request
is it possible to set width for scroll view?
or
always visible?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900