I'm building a Windows Store app using XAML. I have a scrollable ListView that has its SelectedItem set on start. Now, I have two requirements:
- I would like the selected item to be always visible
- In addition it should be displayed in the middle of the list when possible (it's not possible for the first element).
The first requirement I can partially fulfill by using list's LayoutUpdated event and list.ScrollIntoView(item) method, but this doesn't allow me to scroll down the list manually until the item is unselected.
For the 2nd requirement I have no ideas.