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.

TreeViewAdvDragHighlightTracker and EdgeSensitivity

Thread ID:

Created:

Updated:

Platform:

Replies:

18798 Sep 9,2004 03:23 AM Sep 10,2004 06:08 PM Windows Forms 1
loading
Tags: Tools
Alex Brunner
Asked On September 9, 2004 03:23 AM

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 06:08 PM

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.

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.

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.

;