I need to trigger an action in UNO when I reach the max position of a scrollViewer. Is this posible?
Thanks!
I need to trigger an action in UNO when I reach the max position of a scrollViewer. Is this posible?
Thanks!
Hi,
You can subscribe to the ScrollViewer.ScrollPositionChanged event, and check the range in there
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">
</ScrollViewer>
How I call it from UNO?
void MyMethod(...?){
}
Thanks!
I solved! Thanks!
void MyMethod(object sender, EventArgs args){
}