Custom Shape and ContainerShape

2 posts, 0 answers
  1. Carlos
    Carlos avatar
    3 posts
    Member since:
    Aug 2012

    Posted 07 Mar 2013 Link to this post

    Good morning

    I've been trying to insert a custom diagram shape into a RaddiagramContainer in code behind using the following 

    containerItem.Items.Add(customshapeItem); 

    it seems that the container.items.count is 1,however when the diagram is display shows my custom shape in the position of the diagram but not inside the container what could be happening?? 

    Thanks in advanced
  2. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 12 Mar 2013 Link to this post

    Hello Carlos,

    Can you send over a sample project demonstrating your scenario. Specifically what we need to know is:
    • how you define your custom shape,
    • what is the setup of the RadDiagram,
    • where and how you define the RadDiagramContainerShape
    • where and how you use the code-behind logic that adds the custom shape in the ContainerShape

    If you can elaborate more on your scenario and the points above we will be able to better understand your case and assist you to implement your scenario.

    In the meantime you can examine the ContainerShape article in our documentation as it provides a deeper insight into the logic of the control.


    Regards,
    Tina Stancheva
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. UI for WPF is Visual Studio 2017 Ready
Back to Top