Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2035
Drag / Drop between ListBoxes using Touch
posted

Hi.  I have implemented drag and drop between two ListBoxes using the framework and it works just fine with the mouse.  However, it does not function with touch.  Is there something special I need to do to allow dragging an item from one ListBox to another using touch screen?

Thanks,

Arthur

Parents
  • 17475
    Verified Answer
    Offline posted

    Hello Arthur,

    The default behavior of the ListBox on touch devices is to scroll which is why the drag and drop does not work as expected by default. I would suggest you to consider using the SurfaceListBox that is designed for touch devices or to disable the panning of the ListBox:
    <ListBox ScrollViewer.PanningMode="None"…>
    In case you need additional assistance, feel free to update the thread.

Reply Children