is there scrollToBottom in the ScrollView?

mc 3,641 Reputation points

If I scroll to bottom of the scrollview I can detect it and then add something to the scrollview(grid)

A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,845 questions
{count} votes

Accepted answer
  1. Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 26,071 Reputation points Microsoft Vendor


    There is not a scrollToBottom method.

    If I scroll to bottom of the scrollview I can detect it

    You could calculate the offset of the scrollview, then detect the end. Please refer to the following code:

     <ScrollView  Scrolled="scrollView_Scrolled">
    /ScrollView  >

    Scrolled event:

     private void scrollView_Scrolled(object sender, ScrolledEventArgs e)
          var scrollview = sender as ScrollView;
          var space = scrollview.ContentSize.Height - scrollview.Height;
          if (space <= e.ScrollY)

    Best Regards,

    Wenyan Zhang

    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

0 additional answers

Sort by: Most helpful