RadTreeView drop command or pre-post drag events?

1 posts, 0 answers
  1. MC
    MC avatar
    4 posts
    Member since:
    Dec 2013

    Posted 05 Aug 2018 Link to this post

    I'm using RadTreeView's drag drop feature to reorder/nest items.

    The control has many features that I (drop preview line, TreeViewDragVisual, and tooltip).

    However, I need to execute some complex reorder/nest/unnest logic for the actual drag/drop operation (guards, pre and post).

    So far, I was able to implement my guards by binding the RadTreeViewItem.IsDropAllowed.

    But have no idea how to run some code before and after a drag/drop.

     

    My questions:

    1. Is it possible to invoke a command for a drag/drop operation, instead of automatically manipulating the bound collection?

    2. Which events do I listen to before and after (collection is modified) a drag/drop operation? DragStarted and DragEnded events have been marked obsolete.

     

    And if there is a workaround (custom implementation of drag/drop), can I continue using the other features of RadTreeView (drop preview line, TreeViewDragVisual, and tooltip)?

     

    Thanks

    minchew

Back to Top