Copy/paste and properties

How do you copy/paste a custom symbol and retain the values of custom properties?

Example: I have a string property in custom symbol that I want to have the same value across the copy/paste.


1 Reply

J. J.Nagarajan Syncfusion Team July 17, 2008 10:03 AM UTC

Hi Truman ,

Thanks for your interest in Syncufsion products.

Please refer to the attached sample in which you can copy the node with its custom property value and you can paste it into the diagram model.

http://websamples.syncfusion.com/samples/Diagram.Windows/F75229/main.htm

In this sample we have added a custom property "TagInformation" in the CustomNode". When you click on "NodeInformation->SetNodeInformation" menuitem you can set the value to the "TagInformation". After you copy-paste the node, please click on "NodeInformation->GetNodeInformation" menuitem to get the same "TagInformation" value.

Please let me know if this helps.

Regards,
Nagaraj



Loader.
Up arrow icon