About RadTreeListView DragVisual Content

3 posts, 1 answers
  1. Yuanhong
    Yuanhong avatar
    11 posts
    Member since:
    Jan 2019

    Posted 21 Oct Link to this post

    Hi 

        I am working on a DragAndDrop about RadTreeListView.There are two screens that use this RadTreeListView, one that requires the draganddrop function, and one that needs to disable the draganddrop function.The screen with the drag function disabled sets the following property to false:

    RadTreeListViewDropBehavior.IsEnabled="{Binding CanDragFlag}".But, When this screen is dragged, the content set in DragVisual Content will be displayed. What is going on? I don't want to have any drag effects

        

  2. Answer
    Martin Ivanov
    Admin
    Martin Ivanov avatar
    2245 posts

    Posted 24 Oct Link to this post

    Hello Yuanhong,

    To resolve this, bind also the IsDragDropEnabled property of RadTreeListView.

     <telerik:RadTreeListView IsDragDropEnabled="{Binding CanDragFlag}"
                              local:TreeViewDragDropBehavior.IsEnabled="{Binding CanDragFlag}">

    I hope this helps.

    Regards,
    Martin Ivanov
    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.
  3. Yuanhong
    Yuanhong avatar
    11 posts
    Member since:
    Jan 2019

    Posted 24 Oct Link to this post

    Thank a lot. It has been solved.
Back to Top