xaml - Scroll automatically to a control inside scrollviewer -


i have scrollviewer in page shows data vertically, , contains controls grid, stackpanel , listbox. listbox contains items expanderview. on click of expander view header expands, want whenever expands content visible in page. means have automatically change scroll position , make visible listbox selected control.

is there way?

there way manage programatically use of timer. when timer triggerd, call timer_tick event handler, scrolls current index , marks selected, , updates index. after last item highlighted index reset first item. can find useful sample here auto-scrolling listbox windows phone


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -