Can't find the class DragDropBehavior

4 posts, 0 answers
  1. Dave
    Dave avatar
    31 posts
    Member since:
    Apr 2014

    Posted 14 Oct 2014 Link to this post

    I'm trying to write a custom drag drop behaviour, and as I understand it I start by deriving a class from Telerik.Windows.Controls.DragDropBehavior. The problem is Telerik.Windows.Controls doesn't seem to contain the class DragDropBehavior. Have I completely misunderstood something?
  2. Kalin
    Admin
    Kalin avatar
    1207 posts

    Posted 14 Oct 2014 Link to this post

    Hello Dave,

    Some of our controls provide its own DragDropBehaviors that can be inherited and modified as required. So could you please share some more details on what exactly you need to achieve and which controls do you use? You could also check the DragDropManager, which might help you to implement the needed drag drop logic.

    I'm looking forward to hearing from you.

    Regards,
    Kalin
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for WPF is Visual Studio 2017 Ready
  4. Dave
    Dave avatar
    31 posts
    Member since:
    Apr 2014

    Posted 14 Oct 2014 in reply to Kalin Link to this post

    I'm dragging files (eg from Explorer) and dropping onto a control of my own. I just needed a basic drag-drop behaviour and I thought the Telerik library had a base class DragDropBehaviour that would provide a useful starting point. In fact the behaviour I needed was very straightforward so I've implemented it from scratch. I obviously misunderstood. Thanks anyway.
  5. Kalin
    Admin
    Kalin avatar
    1207 posts

    Posted 16 Oct 2014 Link to this post

    Hello Dave,

    I'm glad you have managed to achieve the desired. For scenarios like this one we recommend using the DragDropManager as I already suggested in my previous post.

    If you have any further questions or concerns, please do not hesitate to contact us.

    Regards,
    Kalin
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top