Find drag source on DragAndDrop

2 posts, 0 answers
  1. Deepika
    Deepika avatar
    4 posts
    Member since:
    Mar 2015

    Posted 20 Mar 2015 Link to this post

    Our application involves the DragAndDrop of items from a Grid (inside a RadOutlookBar) into a RadTreeView. DragAndDrop is also allowed within the RadTreeView. However a certain set of code is executed only when the item is dragged from the Grid and not within the RadTreeView and the only way we can figure out when to execute said code is to find out where the drag is performed from (drag source). Such is the code structure and can't be tweaked much. I was wondering if there was a way to figure the drag source. 
    TIA,
    Deepika
  2. Pavel R. Pavlov
    Admin
    Pavel R. Pavlov avatar
    1182 posts

    Posted 24 Mar 2015 Link to this post

    Hi Deepika,

    I am not sure about your scenario and what exactly you try to achieve with the mentioned structure. Basically, the drag and drop operations are executed over ItemsControls. I am not sure what you need to drag from a panel as the Grid. Could you please elaborate more on your scenario and clarify your requirements?

    If I better understand your scenario I would be able to suggest an appropriate approach for you.

    Regards,
    Pavel R. Pavlov
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

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