silverlight - ListView - Selected Item in the middle -
i'm building windows store app using xaml. have scrollable listview has selecteditem set on start. now, have 2 requirements:
- i selected item visible
- in addition should displayed in middle of list when possible (it's not possible first element).
the first requirement can partially fulfill using list's layoutupdated event , list.scrollintoview(item) method, doesn't allow me scroll down list manually until item unselected.
for 2nd requirement have no ideas.
ok, found out how achieve that: http://fczaja.blogspot.com/2013/05/xaml-listview-scroll-selecteditem-to.html