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.

Deny overlapping of controls

Thread ID:

Created:

Updated:

Platform:

Replies:

124410 Jun 8,2016 04:30 AM Jun 13,2016 08:25 AM WPF 3
loading
Tags: Diagram
Rohan
Asked On June 8, 2016 04:30 AM

Hello Team,
Can u pleas let me know if WPF- Diagraming component supports detection of overlapping.
If so can you please let me know the following:
1. How to detect overlapping
2. Auto-align/Auto-position overlapped nodes
2. Any samples which can highlight this feature

Thanks..

Ranjitha Amirthalingam [Syncfusion]
Replied On June 9, 2016 07:47 AM

Hi Rohan, 
 
Thanks for contacting Syncfusion Support. 
 
Requirement: Need to detect the intersection/overlap state. 
 
We have provided support to achieve your requirement in SfDiagram. We have provided support for events (DragEnter, DragOver, DragLeave) to notify the intersection/overlap state. We have explained in detail as below.  
 
Event Name 
Functionality 
DragEnter 
This event will fire when one Node starts to intersect with other Node. 
DragOver 
This event will fire when one Node drag(mouse) over the other Node. 
DragLeave 
This event will fire when drag leaves the other Node, without dropping on another Node. 
ItemDrop 
This event will fire when one Node dropped on the other Node. 
 
We have provided simple sample to represent these events. Please refer to the sample as below and test the sample with the above patch. 
Sample Link: Events_Sample
 
 
 
 
 
 
 
 
Regards, 
Ranjitha A. 
 
 


Rohan
Replied On June 10, 2016 12:35 PM

Hi,
Thanks for the demo.
Is something similar available in the classic version i.e. Syncfusion.Diagram.WPF

Also; can you tell me if we can detect this once the items are dropped and diagram is create (maybe on click of a external button)
I found one link in your forum but I cannot download the  same.
Can you please re-upload the solution align with any comments.

regards,
Rohan

Ranjitha Amirthalingam [Syncfusion]
Replied On June 13, 2016 08:25 AM

Hi Rohan, 
 
Please find the response to your queries as below. 
 
 
S.No 
Query 
Response 
1 
Is something similar available in the classic version i.e. Syncfusion.Diagram.WPF. 
Also; can you tell me if we can detect this once the items are dropped and diagram is create (maybe on click of an external button) 
 
We have provided support in SfDiagram. But, we  don’t have support for the requested feature in DiagramControl (Classic). 
2 
I found one link in your forum but I cannot download the  same. 
Can you please re-upload the solution align with any comments. 
 
We have provided the sample shared in the forum #104469.Please refer to the sample from the following link. 
 
 
 
 
 
 
 
 
 
 
 
Regards, 
Ranjitha A. 


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.

;