NTreeViewEx Drag and Drop


https://www.nevron.com/Forum/Topic10668.aspx
Print Topic | Close Window

By mouloud djamah - 5 Years Ago
When setting the property TreeViewEx.ItemDragDropMode to General, the Drag and Drop works well. But I want to disable this default behavior and use my own Drag and Drop method by managing the events : ItemBeginDrag, ItemDrag and ItemDragComplete. But the default behavior is still applyed. How to disable it?.
Thank you  
By Nevron Support - 5 Years Ago
Hello mouloud djamah,

To cancel the default drag and drop behavior of NTreeViewEx control you need to attach to ItemDrag event and in the event handler you have to set Handled property of NLightUIItemDragDropEventArgs parameter to true.
Then you can implement your custom drag and drop behavior.

I hope this helps.