How best to capture selection of a listitem using TouchScrollBehavior?

Jan 13, 2011 at 4:00 PM
Edited Jan 13, 2011 at 5:20 PM

Hi,

Many thanks for this behavior, the TouchScrollBehavior works well when flicking through a scrollable ListBox.

However, when it comes to selecting an actual item in the list to navigate to another screen, SelectionChanged doesn't work.

SelectionChanged in a ListBox gets fired as soon as you touch down or mouse down on an item, which means it also gets triggered when starting a swipe/flick scroll.

How do you recomend capturing an item selection when using your TouchScrollBehavior ? Presumably mouseUp would always get fired after a flick gesture, which also wouldn't be desired.

 

Thanks in advance,

LAHunt

Coordinator
Jan 14, 2011 at 6:07 PM

Hi LAHunt,

Thanks for your question. I wanted to let you know that we got this and are in the process of responding. My guys want to poke at the code a bit to come to the best possible answer to your question. My goal is to get you a clear answer early next week.

Have a great weekend!

J

Feb 24, 2011 at 6:20 AM

Did this ever get resolved as I have the same issue.

Thanks

J