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

How to bind object data to manual layout diagram

There are only examples of tree hierarchical data binding , but when the diagram has manual layout I don't understand how to bind data .( for example how to bind offsetX and offsetY of a node for a manual layout ) .



1 Reply

AA Amsath Ali M Syncfusion Team October 12, 2011 02:08 PM UTC

Hi Paolina,

Thanks for your interest in Syncfusion products.

We suggest you to use the Node’s ‘PinPoint’ property to set the location of node. Please refer the below code snippet to achieve your requirement.

Here is the code:
[C#]
//Change the pinpoint of a node.
nodes.PinPoint = new PointF(250, 100);

Here is the sample:
ForumPinPoint-1229378272.zip

Please try the above sample and let us know if you have any queries.

Regards,
Amsath Ali. M



Loader.
Live Chat Icon For mobile
Up arrow icon