Trigger ScrollViewer

I need to trigger an action in UNO when I reach the max position of a scrollViewer. Is this posible?



You can subscribe to the ScrollViewer.ScrollPositionChanged event, and check the range in there :slight_smile:

You can use the WhileScrollable trigger. This is actually the opposite of what you want: it triggers so long as the scroller has somewhere to scroll. Maybe you can invert the meanings so it works in your UI. You can set the ScrollDirection parameter to refer to just one of Up or Down.

Thanks Anders Lassen! But If I have something like this:

<ScrollViewer ScrollPositionChanged="MyMethod">

How I call it from UNO?

void MyMethod(...?){



I solved! Thanks!

void MyMethod(object sender, EventArgs args){