I tried adding the following in a button click handler:
ListView listView = MyListView;
int lastItemIndex = listView.Items.Count - 1;
listView.ScrollIntoView(listView.Items[lastItemIndex]);
listView.UpdateLayout();
The button click is also associated with a command handler that adds an item to the ObservableCollection associated with the ListView.
The problem is that the button click handler is called before my command handler so it is too early. In the button click handler, the ListView does not yet see the updated ObservableCollection with the added item. What event or better yet, what can I do without changing the code behind to get the ListView to scroll to the end after my item is added to the ObservableCollection? I have looked but nothing yet in stackoverflow for answers. Thanks!