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

Inserting a custom path in a node

Hi,

I am using the Silverlight version of Essential Diagram but since there is no Silverlight forum for it, I think this is the closest one to post the topic in.

I am wondering how to use a custom path for a shape in a node when I create a node programmatically?

The path is also being created programmatically at run time(It is coming from a database).

I have looked through the samples and Intellisense and I have seen the Shapes.CustomPath and have got that set, but I am not sure where to go from here.

Can someone help me with this? :)

2 Replies

AD Administrator Syncfusion Team June 22, 2010 02:32 AM UTC

I applied the technique mentioned in this thread
http://www.syncfusion.com/support/forums/diagram-wpf/95084/inserting-text-into-a-symbolpaletteitem
into the nodes content field, it is now working.


DV Deepa V Syncfusion Team June 22, 2010 04:11 AM UTC

Hi Michael,

Thanks for your interest in Syncfusion products.

You can either use the content of the node to set the Path object or even you can use the CustomPathStyle property to set the custom path.

You can refer to the User Guide link where we have described about adding Custom Path to a node.

http://help.syncfusion.com/ug_82/SilverlightUI_Diagram/defaultSilver.html

Navigate to Concepts and Feature-> Nodes->How to specify Custom Path Style to a node.

Please let us know if you have any queries.

Regards,
Deepa V

Loader.
Live Chat Icon For mobile
Up arrow icon