Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

How to make ScrollView IsTabStop true only if the scroll bar is present?

$
0
0

On UWP, I have a ScrollView that has IsTabStop=true and that has TabIndex set to an appropriate value. Using ScrollView, the scroll bar is only visible (or space is only allocated for the scroll bar) if the children of the ScrollView do not fit in the space available. The user can only do something with the ScrollView (such as using the cursor keys to scroll) if the children of the ScrollView do not fit in the space available. It would appear then that nothing useful is achieved by being able to tab onto the ScrollView unless the children of the ScrollView do not fit in the space available. Is there any way, without using a custom renderer, to have IsTabStop=false when the children fit and have IsTabStop=true when the children do not fit (or have the ScrollView behave as if that is the case).


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>