Profile Picture

NTreeViewEx Drag and Drop

Posted By mouloud djamah Last Year
Author
Message
mouloud djamah
General Posted Last Year
View Quick Profile
Forum Newbie

Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)

Group: Forum Members
Last Active: Last Year
Posts: 5, Visits: 48
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  

Nevron Support Team
Posted Last Year
View Quick Profile
Supreme Being

Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)

Group: Moderators
Last Active: Yesterday @ 8:33 AM
Posts: 2,593, Visits: 2,279
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.

Best Regards,
Nevron Support Team





Similar Topics


Reading This Topic