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
Post a Comment