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

How to add custom Property to RadDiagramConnection?

5 Answers 98 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Vasanth
Top achievements
Rank 1
Vasanth asked on 07 Oct 2013, 10:46 AM
Hi,
    I want to store Some More information with RadDiagramConnection .
    So,Please  can any one suggest me ,how to Create Custom Property to RaddiagramConnection (Or) How To Create a Custom RadDiagramConnection?

5 Answers, 1 is accepted

Sort by
0
Pavel R. Pavlov
Telerik team
answered on 09 Oct 2013, 06:54 AM
Hi Vasanth,

I already answered to this question in your ticket. However, I will paste the same answer here so that others from the community will be able to find it.

In order to extend the default definition of the RadDiagramConnection control you can derive a custom class from the RadDiagramConnection. If you do so you will be able to define your custom properties in that class. We believe that you as a developer, will be able to properly deal with this issue in an easy way.

Furthermore, you will have to use your custom class instead the RadDiagramConnection class. You need to have in mind that if you extend any of our classes, your issues may become beyond our support scope.

Regards,
Pavel R. Pavlov
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Alexander
Top achievements
Rank 1
answered on 19 Aug 2014, 08:41 AM
Hello,
I also want to use some custom RadDiagramConnection. How can I hook into the connect process to create my custom connection instead of the default one?

Alex
0
Pavel R. Pavlov
Telerik team
answered on 21 Aug 2014, 01:04 PM
Hi Alexander,

In order to force the RadDiagram to use your custom connections you need to customize the diagram, too. The steps that you need to take to customize the diagram are similar to the steps explained in this article. For your convenience I prepared a project demonstrating how you can use custom connections.

Please take a look at it and let us know if you need any further assistance.

Regards,
Pavel R. Pavlov
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
0
Alexander
Top achievements
Rank 1
answered on 21 Aug 2014, 03:24 PM
Thank you, it looks very promising.
As I have already customized the diagram, it should not be a big deal. I was just missing these overrides to create the custom connections (i was looking for some events, but didn't find any...)

Alex
0
Pavel R. Pavlov
Telerik team
answered on 22 Aug 2014, 07:45 AM
Hello,

Feel free to contact us again if you encounter any other issues.

Regards,
Pavel R. Pavlov
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
Diagram
Asked by
Vasanth
Top achievements
Rank 1
Answers by
Pavel R. Pavlov
Telerik team
Alexander
Top achievements
Rank 1
Share this question
or