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

TreeViewAdvDragHighlightTracker and EdgeSensitivity

Thread ID:





18798 Sep 9,2004 07:23 AM UTC Sep 10,2004 10:08 PM UTC WinForms 1
Tags: Tools
Alex Brunner
Asked On September 9, 2004 07:23 AM UTC

The property is obsolete and EdgeSensitivityOnTop resp. EdgeSensitivityAtBottom should be used instead. The sample TreeViewAdvDragDrop does still use the obsolete property, too. Could you give me an idea on how to use the new properties instead? Regards, Alex

Administrator [Syncfusion]
Replied On September 10, 2004 10:08 PM UTC

Hi Alex, You could replace the EdgeSensitivity property with the EdgeSensitivityAtBottom and EdgeSensitivityOnTop properties as shown in the code below. //this.treeViewDragHighlightTracker.EdgeSensitivity = e.HighlightNode.Bounds.Height / 2; this.treeViewDragHighlightTracker.EdgeSensitivityAtBottom = -1; this.treeViewDragHighlightTracker.EdgeSensitivityOnTop = -1; It basically allows you to specify the height on bottom/top portion of the node that responds to drag-drop of nodes. Setting it to 0 will disallow the drag-drop of nodes on that particular edge (top/bottom). Please refer to the class reference for more information. I have modified the TreeViewAdvDragDrop sample and have attached it here. Please refer to it and let me know if you need further assistance. thanks for your interest in Syncfusion products. Regards, Guru Patwal Syncfusion, Inc.


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