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:

  1. i selected item visible
  2. 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


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -