Drag and drop items in multiselect listview control RRS feed

  • Question

  • Hi,

    How can I drag and drop items in listview control (.MultiSelect = true).

    For example:

    In list view with 10 items I would like to select item number 6 and drag it to be item number 2.

    Guy Zommer

    Tuesday, October 29, 2013 5:57 AM

All replies

  • Here is an example of the drag drop code for a normal listbox.

    With multiselect I think you will need to store all the relevant information by using the .Selected() property rather than listindex and Text

    You might find providing up/down buttons to move selection a more robust solution



    Tuesday, October 29, 2013 9:19 AM