You can find the ScrollViewer for the ListView by going through the visual tree, and then call ScrollToLeftEnd . Something like this should work
private void ScrollListViewToLeft(ListView listView) { ScrollViewer listViewScrollViewer = GetVisualChild<ScrollViewer>(listView); listViewScrollViewer.ScrollToLeftEnd(); } private static T GetVisualChild<T>(DependencyObject parent) where T : Visual { T child = default(T); int numVisuals = VisualTreeHelper.GetChildrenCount(parent); for (int i = 0; i < numVisuals; i++) { Visual v = (Visual)VisualTreeHelper.GetChild(parent, i); child = v as T; if (child == null) { child = GetVisualChild<T>(v); } if (child != null) { break; } } return child; }
source share