Drag Drop from Toolbox

2 posts, 0 answers
  1. Bernhard
    Bernhard avatar
    5 posts
    Member since:
    Aug 2006

    Posted 20 Mar Link to this post

    Hi.

    What is the best way to react to a shape being drag-dropped onto the diagram from the toolbox?

    The toolbox is in an additional form.

    Regards 

    Bernhard

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

    Posted 21 Mar Link to this post

    Hello, Bernhard,

    Note that RadDiagramToolbox is a derivative of RadListView. Hence, it handles the whole drag and drop operation by its ListViewDragDropService. It provides a convenient public API that can be useful for handling any moment of dragging a shape from the RadDiagramToolbox to the RadDiagram.

    Please refer to the following help articles which will get you familiar with the API that you can use:

    https://docs.telerik.com/devtools/winforms/controls/listview/drag-and-drop/listviewdragdropservice
    https://docs.telerik.com/devtools/winforms/telerik-presentation-framework/raddragdropservice

    I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

    Regards,
    Dess | Tech Support Engineer, Sr.
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top