This is a migrated thread and some comments may be shown as answers.

About RadTreeListView DragVisual Content

2 Answers 20 Views
DragAndDrop
This is a migrated thread and some comments may be shown as answers.
Yuanhong
Top achievements
Rank 1
Yuanhong asked on 22 Oct 2019, 03:00 AM

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 Answers, 1 is accepted

Sort by
0
Accepted
Martin Ivanov
Telerik team
answered on 24 Oct 2019, 12:15 PM

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.
0
Yuanhong
Top achievements
Rank 1
answered on 25 Oct 2019, 03:24 AM
Thank a lot. It has been solved.
Tags
DragAndDrop
Asked by
Yuanhong
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Yuanhong
Top achievements
Rank 1
Share this question
or