ReOrdering Event in RadListBox

3 posts, 0 answers
  1. Mahdi
    Mahdi avatar
    8 posts
    Member since:
    Jan 2014

    Posted 28 May 2014 Link to this post

    I have a radlistbox bound to an observable collection that I can reorder
    using drag and drop, but cant seem to find an event that fires when the
    item is reorders.

    Thanks
  2. Kalin
    Admin
    Kalin avatar
    1207 posts

    Posted 29 May 2014 Link to this post

    Hi Mahdi,

    What I can suggest you is to implement a custom ListBoxDragDropBehavior and override the Drop method in order to get notified once an item is dropped (you can get the dropped item as well as the insert index). For your convenience I have attached a sample project demonstrating the exact approach.

    Hope this will work for you.

    Regards,
    Kalin
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
  3. UI for WPF is Visual Studio 2017 Ready
  4. Mahdi
    Mahdi avatar
    8 posts
    Member since:
    Jan 2014

    Posted 29 May 2014 in reply to Kalin Link to this post

    Thank you Kalin for your quick response.

    I could solve my problem with your advice and practical sample that you attached.
Back to Top