Profile Picture

NTreeViewEx Drag and Drop

Posted By mouloud djamah 8 Years Ago
Author
Message
mouloud djamah
General Posted 8 Years Ago
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: 8 Years Ago
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
Posted 8 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,000
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