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.

How to bind object data to manual layout diagram

Thread ID:

Created:

Updated:

Platform:

Replies:

101254 Oct 11,2011 05:20 AM Oct 12,2011 10:08 AM ASP.NET Web Forms (Classic) 1
loading
Tags: DiagramWebControl
Paolina
Asked On October 11, 2011 05:20 AM

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 ) .



Amsath Ali M [Syncfusion]
Replied On October 12, 2011 10:08 AM

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



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.

;