3

In C# UWP I need to bring item into center of ScrollViewer/ListView, instead of top or bottom.

I use this code to scroll:

listViewMain.ScrollIntoView(ItemsList[50]);

Any extension method or some other way to achieve this?

Diado
  • 2,229
  • 3
  • 18
  • 21
user3239349
  • 877
  • 1
  • 12
  • 33
  • this would be helpful https://stackoverflow.com/a/3002013/2630817 – Just code Nov 19 '18 at 15:50
  • Possible duplicate of [Windows 10 ScrollIntoView() is not scrolling to the items in the middle of a listview](https://stackoverflow.com/questions/32557216/windows-10-scrollintoview-is-not-scrolling-to-the-items-in-the-middle-of-a-lis) – Nico Zhu Nov 20 '18 at 05:22

0 Answers0