NTreeViewEx Drag and Drop


Author
Message
mouloud djamah
mouloud djamah
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
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  
Reply
Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K
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


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search