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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

TreeViewAdv - cannot disable drag of tree nodes

Thread ID:

Created:

Updated:

Platform:

Replies:

5226 Jun 25,2003 12:37 PM UTC Jun 25,2003 02:03 PM UTC Windows Forms 1
loading
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

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

;