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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

TreeViewAdv - cannot disable drag of tree nodes

Thread ID:





5226 Jun 25,2003 12:37 PM UTC Jun 25,2003 02:03 PM UTC WinForms 1
Tags: Tools
Neal Granroth
Asked On June 25, 2003 12:37 PM UTC

Does anyone know how to disable the "feature" that allows the end user to reconfigure the displayed tree by clicking on a node and dragging it to another location within the displayed tree? There does not appear to be a TreeViewAdv or TreeNodeAdv property allowing me to lock the displayed tree so it matches an external, fixed, data structure.

Neal Granroth
Replied On June 25, 2003 02:03 PM UTC

Ah, found it. For anyone who needs to know: - Implement a handler for the QueryContinueDrag event. - Within it, set e.Action = Drag.Cancel


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

Live Chat Icon For mobile
Live Chat Icon