Diagram, some questions

2 posts, 0 answers
  1. Tino
    Tino avatar
    86 posts
    Member since:
    Jul 2017

    Posted 24 May 2018 Link to this post

    The docs around diagrams are confusing to me.

    How do I combine using custom shapes and binding custom objects? It only shows how to programmatically add custom shapes.

    How does the shape type names (e.g. "rectangle") relate to the shape (e.g. RoundRect)?

    When using the custom shape editor, if I want to modify default shapes, it's strange I need to add the shape to the diagram first to edit the properties. Then I see it in my diagram on my form.

    Does the Property Builder combine creating diagrams and creating shapes? What's the point of creating diagrams here?

    Once I've created a custom shape in the Property Builder (called say, "CustomShape") how do I use it? Using "customshape" instead of "rectangle" doesn't work.This page https://docs.telerik.com/devtools/winforms/diagram/custom-shapes is very lacking. Yes I've read the "Tools" section too.

     

    Thanks for any clarification.

  2. Dess | Tech Support Engineer, Sr.
    Admin
    Dess | Tech Support Engineer, Sr.  avatar
    3462 posts

    Posted 25 May 2018 Link to this post

    Hello, Tino,    

    Combining custom shapes and custom shapes and binding to custom objects has already been discussed in the other forum thread that you have opened on the same topic: https://www.telerik.com/forums/custom-shape-with-model

    Note that the Property Builder creates only one of the default shapes that RadDiagram offers. You can just change the Shape property. But this doesn't make it a custom RadDiagramShape. It is just a suitable UI for the users to create some shapes at design time. Custom shapes can be added programmatically.

    I hope this information helps. If you have any additional questions, please let me know. 

    Regards,
    Dess
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top