This is a migrated thread and some comments may be shown as answers.

Custom connection properties

1 Answer 68 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Mihail
Top achievements
Rank 1
Mihail asked on 18 Sep 2015, 01:22 PM

Hi,

What is a way to add custom connection properties? How can i serializing this custom connection properties.

For example i want to add MyCustomCode:string property to connection.

1 Answer, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 22 Sep 2015, 08:11 AM
Hello Mihail,

You can subscribe for the serialization events of the diagram and add the new properties of the custom shape in the SerializationInfo. You can read more about this approach and also find a list of the automatically serialized properties in our help documentation.

Regards,
Martin
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Diagram
Asked by
Mihail
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Share this question
or