1. Windows Central Question's Avatar
    For some reason, I cannot get the ScrollIntoView to work for my ListView. FYI... I have added my items to my ListView manually by adding ListViewItems that custom content set for each one. Not sure that that matters.

    public void GoToBottom()
    if (lv.Items != null)
    if (lv.Items.Count > 0)
    lv.SelectedIndex = lstSurvey.Items.Count - 1;
    lv.ScrollIntoView(lstSurvey.Items[lv.SelectedIndex], ScrollIntoViewAlignment.Default);
    06-23-2015 08:20 AM
  2. Rod Yager's Avatar
    I am the one that started this post. I forgot to add that I am trying to get this to work on windows phone 8.1. It's not working on the emulator or on the phone. Thanks
    06-23-2015 08:24 AM
  3. ygtgngr's Avatar
    I couldn't write square brackets so accept < as them


    Can you please try this one?
    06-23-2015 08:27 AM
  4. Rod Yager's Avatar
    Tried it. No luck. Still no movement in the scroll. I have even tried using an app bar button to call the method after the listview hs completely rendered in case it was a timing issue. I'm stumped!
    06-23-2015 11:45 AM
  5. Rod Yager's Avatar
    I just solved my own problem. The issue seemed to be that the listview was a child of a scrollviewer and a stackpanel. When I removed those parent elements and put in the grid.row="1" where the scrollviewer was, it started working.

    <ScrollViewer Grid.Row="1">
    <StackPanel Orientation="Vertical">
    <ListView x:Name="lstSurvey"/>
    ygtgngr likes this.
    06-23-2015 11:54 AM

Similar Threads

  1. Replies: 2
    Last Post: 08-14-2015, 02:11 PM
  2. Extracting and Using Sensor in Camera Assembly
    By Sheepnut in forum Nokia Lumia 1020
    Replies: 1
    Last Post: 07-06-2015, 01:51 PM
  3. why windows mobile won't work on 64bit architechture ???????
    By Salauddin Ahmed in forum Windows 10 Mobile Insider Preview
    Replies: 7
    Last Post: 06-23-2015, 09:40 AM
  4. Why doesn't Microsoft allow me to log in using my Yahoo account?
    By Windows Central Question in forum Applications
    Replies: 1
    Last Post: 06-23-2015, 08:28 AM
  5. What to look for when buying a used Icon?
    By mikefarinha in forum Nokia Lumia Icon
    Replies: 0
    Last Post: 06-23-2015, 02:15 AM