# Trigger ScrollViewer

**URL:** <https://forums.fusetools.com/t/trigger-scrollviewer/6219>\
**Category:** How-to Discussions\
**Created:** [June 12, 2015, 4:43pm UTC](https://forums.fusetools.com/t/trigger-scrollviewer/6219 "2015-06-12T16:43:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cristian\_Karmy](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/cristian_karmy/32/480_2.png) [@Cristian\_Karmy](https://forums.fusetools.com/u/Cristian_Karmy)\
**Post date:** [June 12, 2015, 4:43pm UTC](https://forums.fusetools.com/t/trigger-scrollviewer/6219/1 "2015-06-12T16:43:43Z")

</div>

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

Thanks!

---

<div class="post-metadata">

**Author:** ![Anders\_Lassen](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_lassen/32/522_2.png) [@Anders\_Lassen](https://forums.fusetools.com/u/Anders_Lassen)\
**Post date:** [June 15, 2015, 10:05am UTC](https://forums.fusetools.com/t/trigger-scrollviewer/6219/2 "2015-06-15T10:05:02Z")

</div>

Hi,

You can subscribe to the [ScrollViewer.ScrollPositionChanged](https://www.fusetools.com/developers/api/fuse/controls/scrollviewer/scrollpositionchanged) event, and check the range in there 🙂

---

<div class="post-metadata">

**Author:** ![edA-qa\_mort-ora-y](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/eda-qa_mort-ora-y/32/124_2.png) [@edA-qa\_mort-ora-y](https://forums.fusetools.com/u/edA-qa_mort-ora-y)\
**Post date:** [June 15, 2015, 10:09am UTC](https://forums.fusetools.com/t/trigger-scrollviewer/6219/3 "2015-06-15T10:09:16Z")

</div>

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`.

---

<div class="post-metadata">

**Author:** ![Cristian\_Karmy](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/cristian_karmy/32/480_2.png) [@Cristian\_Karmy](https://forums.fusetools.com/u/Cristian_Karmy)\
**Post date:** [June 15, 2015, 12:44pm UTC](https://forums.fusetools.com/t/trigger-scrollviewer/6219/4 "2015-06-15T12:44:03Z")

</div>

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

```auto
<ScrollViewer ScrollPositionChanged="MyMethod">
</ScrollViewer>

```

How I call it from UNO?

```auto
void MyMethod(...?){

 }

```

Thanks!

---

<div class="post-metadata">

**Author:** ![Cristian\_Karmy](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/cristian_karmy/32/480_2.png) [@Cristian\_Karmy](https://forums.fusetools.com/u/Cristian_Karmy)\
**Post date:** [June 15, 2015, 12:53pm UTC](https://forums.fusetools.com/t/trigger-scrollviewer/6219/5 "2015-06-15T12:53:19Z")

</div>

I solved! Thanks!

```auto
void MyMethod(object sender, EventArgs args){

 }

```
