Talkar
Talkar

Reputation: 47

Scroll from bottom to top in a listview

I'm trying to recreate the functionality of the Messages app in a WinRT universal app. In the WinPhone project i've created a listview, and i've set the itemssource. Everything works fine, it loads more items as i scroll and all. However, it starts at the top of the list, and the user has to scroll down. How do i reverse, so that i start at the bottom, and scroll up?

The list is also utilizing the select modes, so the user can select multiple items and edit/delete them. So i can't just rotate the list and its items 180 degrees.

Upvotes: 0

Views: 405

Answers (1)

Kai Brummund
Kai Brummund

Reputation: 3568

There's no built in solution for Loading additional items at the top.

Here's a good start for implementing it but you still have to figure out the details.

You an scroll to the top using the ListView's ScrollIntoView Method passing the first item as a parameter.

Upvotes: 1

Related Questions