MSPointer difficulties in listview RRS feed

  • Question

  • hey,

    this may be a stupid question, but I registered an MSPointerDown event handler for an item inside a listview, and once the event fires, it registers an MSPointerUp event handler to the same object so that I can know where the user "releases" the item.

    It works fine, expect that when I have many items in the listview, the scrolling messes it up and fires an MSPointerCancel event as soon as I leave the item.

    is there a way to fix this? or any suggestions on how to handle this problem?


    Thursday, July 19, 2012 2:44 PM


  • What exactly are you trying to accomplish with this handler? Typically you use the ListView's itemInvoked property to handle taps/clicks on items, so that you don't need to listen for MSPointerDown etc directly.

    If you're trying to provide some other interactivity within specific items, that is, if you need to process pointer events directly with those items, then the items need to have a class "win-interactive" on them so the ListView knows how to process events properly itself.


    Thursday, July 19, 2012 10:54 PM