Adding drag and drop to dynamic images / elements to a canvas

2 posts, 0 answers
  1. Simon Allport
    Simon Allport avatar
    32 posts
    Member since:
    Aug 2009

    Posted 14 Jul 2010 Link to this post

    Hi,
    Is it possible to add drag drop to dynamically added images or elements to a canvas and if yes how do you do it please?
    Thanks

    Simon
  2. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 20 Jul 2010 Link to this post

    Hello Simon Allport,

    You can allow the DragAndDrop operation in code-behind using:
    RadDragAndDropManager.SetAllowDrag( element, true );
    More information about how to allow the DragAndDrop operations with the RadDragAndDropManager you can find here.

    I also prepared a sample project illustrating a possible approach towards your scenario. Take a look at it and let me know if you need more info.

    All the best,
    Tina Stancheva
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top