We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Drag&drop (some restrictions) .. Treeview

Thread ID:

Created:

Updated:

Platform:

Replies:

82375 Jun 11,2009 03:01 AM UTC Aug 16,2016 09:43 AM UTC WPF 3
loading
Tags: TreeViewAdv
jungjin Park.
Asked On June 11, 2009 03:01 AM UTC

Hi.

I am using the Syncfusion TreeViewAdv control.
however, there are some restrictions I need enforced.
Basically I want the user to be able to re-arrange the sub items in a tree node but not be able to drop a node outside of its parent.
How can I do this?

Lower part saw the same contents question.
Will be a plan which will upgrade. Now is the use possible?

Reply will wait.
Thanks...

Balavasanth [Syncfusion]
Replied On June 11, 2009 07:41 AM UTC


Hi park,

Thanks for your interests in Syncfusion products.

Yes we have implemented a new method FindItemByPoint for TreeViewAdv. This method will find TreeViewItemAdv by Point using which you can achieve your requirements. We are sending you a simple sample for your reference. In the sample we have explained how to find the TreeViewItems by point using the Mouse Position in the PreviewDragOver event of the TreeViewAdv. Kindly download the sample from the following location.

http://files.syncfusion.com/support/Tools.WPF/7.2.0.20/Forum-82375/main.htm

Please let us know if you have any queries.

Regards,
Bala.

Michael Katsarakis
Replied On August 12, 2016 09:02 AM UTC

Could you please put the sample again here?

Regards,
Michal

Vijayalakshmi Roopkumar [Syncfusion]
Replied On August 16, 2016 09:43 AM UTC

Hi Michael,

We have created the sample that tries to meet your requirement. You can able to find out the TreeViewItems by point using the Mouse position in the PreviewDragOverEvent by using FindItemByPoint method. Please download the sample from the following location:

Sample:TreeViewDrag_Drop

Regards,
Vijayalakshmi V.R.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;