Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xamarin Forms: hiding the scrollbar in a ListView

Is there an easy way to hide the scrollbar in a ListView, but still leave it scrollable?

like image 907
Ilia Stoilov Avatar asked Dec 19 '22 01:12

Ilia Stoilov


1 Answers

You can make a custom ListView renderers for each platform (http://developer.xamarin.com/guides/cross-platform/xamarin-forms/custom-renderer/):

On Android:

ListView.VericalScrollbarEnabled = false;

On iOS:

UIScrollView.ShowsVerticalScrollIndicator = false;
like image 82
Daniel Luberda Avatar answered Feb 18 '23 21:02

Daniel Luberda



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!