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

Call listview.ScrollTo method from MVVM

$
0
0

Hello guys, Im trying to realize a ScrollTo to a specific position of my listview.
Since Im using MVVM approach, in myxaml I haven't x:Name = myListview but I just have the ItemsSource = "{Binding myList}"
I noticed that the scrollTo is not a bindable property (you have to do listview.scrollTo in codebehind usually), so how can I scrollTo a specific element from MVVM if I don't have a reference to the listview Object directly?
Thanks!


Viewing all articles
Browse latest Browse all 77050

Trending Articles



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