Forum Xamarin.Forms
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

Scroll bar visibility

Xammy10Xammy10 Member ✭✭✭
edited March 30 in Xamarin.Forms

Is there a way to detect if the scrollbar of the scroll view is visible or if its already scrollable?

Answers

  • jezhjezh Member, Xamarin Team Xamurai

    detect if the scrollbar of the scroll view is visible

    ScrollView defines the following properties:

    1.HorizontalScrollBarVisibility gets or sets a ScrollBarVisibility value that represents when the horizontal scroll bar is visible.
    2.VerticalScrollBarVisibility gets or sets a ScrollBarVisibility value that represents when the vertical scroll bar is visible.

    So you can use these properties to determine whether your scrollbar is present or not.

Sign In or Register to comment.