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.

Copy/paste and properties

Thread ID:

Created:

Updated:

Platform:

Replies:

75229 Jul 16,2008 07:59 PM Jul 17,2008 06:03 AM Windows Forms 1
loading
Tags: Diagram
Truman Lackey
Asked On July 16, 2008 07:59 PM

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.


J.Nagarajan [Syncfusion]
Replied On July 17, 2008 06:03 AM

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



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.

;