How to add custom Property to RadDiagramConnection?

6 posts, 0 answers
  1. Vasanth
    Vasanth avatar
    1 posts
    Member since:
    Oct 2013

    Posted 07 Oct 2013 Link to this post

    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?
  2. Pavel R. Pavlov
    Admin
    Pavel R. Pavlov avatar
    1182 posts

    Posted 09 Oct 2013 Link to this post

    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 >>
  3. UI for WPF is Visual Studio 2017 Ready
  4. Alexander
    Alexander avatar
    77 posts
    Member since:
    Apr 2013

    Posted 19 Aug 2014 in reply to Pavel R. Pavlov Link to this post

    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
  5. Pavel R. Pavlov
    Admin
    Pavel R. Pavlov avatar
    1182 posts

    Posted 21 Aug 2014 Link to this post

    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.
     
  6. Alexander
    Alexander avatar
    77 posts
    Member since:
    Apr 2013

    Posted 21 Aug 2014 in reply to Pavel R. Pavlov Link to this post

    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
  7. Pavel R. Pavlov
    Admin
    Pavel R. Pavlov avatar
    1182 posts

    Posted 22 Aug 2014 Link to this post

    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.
     
Back to Top
UI for WPF is Visual Studio 2017 Ready