ScrollViewer scroll item into center

304 Views Asked by At

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?

0

There are 0 best solutions below