Custom validation of a connection

Thread ID:

Created:

Updated:

Platform:

Replies:

When trying to connect incompatible connection points (such
as two outputs - ConnectionPointType.Outgoing), the cursor changes to
the 'no' (prohibiting) sign. That is great.But how do I add
additional conditions to this validation. For instance, how do I show a
'no' cursor when the user tries to connect the central connection point
of a circle to that of a square (with
ConnectionPointType.IncomingOutgoing)?

Hi Johan,Thanks for using Syncfusion Products.We have created simple sample to achieve your requirement. We suggest you to use Diagram.Controller.ActiveTool’s “ActionCursor” property to set the Cursors.No in order to achieve your requirement. Please refer the below code snippet and sample for your reference.Here is the code snippet:[C#]