Drag&Drop for Non-WinForms (WPF) Elements

2 posts, 0 answers
  1. Martin
    Martin avatar
    17 posts
    Member since:
    Nov 2019

    Posted 06 Jan 2020 Link to this post


    we use WinForms-Controls in our application and want to drop a WPF-Control to it (Listview or Panel).

    But we don´t get the Drop-Event to it. :-(

    In WinForms the DragEventArgs are in the namespace "System.Windows.Forms" and in WPF it is only "System.Windows", maybe this is the problem!?

    Another problem: When we use a non-Telerik-form we can handle the Drop-Event but we can´t access the data from e.Data.GetData(...

    It´s always null. Is there a way to control the data which is used for Drag&Drop?

  2. Dess | Tech Support Engineer, Sr.
    Dess | Tech Support Engineer, Sr.  avatar
    4086 posts

    Posted 07 Jan 2020 Link to this post

    Hello, Martin,   

    According to the provided information, it seems that you want to drag a WPF control and drop it into a WinForms control. This seems more like a general programming question than related to the Telerik UI for WinForms suite. After some research in forums like StackOverflow and MSDN I have found the following thread which may be useful for achieving your custom requirement:

    I hope this information helps.  


    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