Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
305
XamDiagramToolbox issue with dropping an DiagramToolboxItem on XamDiagram
posted

Hi, 

I need to pass some information on DiagramToolboxItem when I dropped it to XamDiagram via XamDiagramToolbox, I have event wired up on XamDiagram for Item_Added, when Item_Added executes, I can see Item Object in DiagramItemAddedEventArgs, but when I try to view the content of it, it is NULL, I need DiagramToolboxItem to carry Guid Information to the XamDiagram, How can I achieve that

Parents
  • 22015
    posted

    Hello Manoj,

     

    Thank you for contacting us.

     

    I have been looking into your question. When you drag a new item from the toolbox of the XamDiagram it is expected its content to be null as the content of the item is not set.

    If you would like to get the shape, that has been dragged you can use the ShapeType propery of the DiagramNode.  

     

    If I have misunderstood your requirements would you please provide me with more detailed information on the functionality you want to achieve?

     

    Please do not hesitate to let me know if you have any further questions on this matter.

Reply Children