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

TreeListView Features Example

1 Answer 85 Views
TreeListView
This is a migrated thread and some comments may be shown as answers.
Ryan
Top achievements
Rank 1
Ryan asked on 10 Aug 2016, 01:38 PM
Hello, 

I was wondering if there are any existing examples that demonstate the following TreeListView features:
  • Custom template for Drag/Drop behavior ("drop node1 before node2" as a preview, for example)
  • Dragging a TreeListView item into another control that accepts drop (passing a DataObject through a DragEventArgs)

Thanks,
Ryan

1 Answer, 1 is accepted

Sort by
0
Yoan
Telerik team
answered on 15 Aug 2016, 12:38 PM
Hi Ryan,

I would suggest you to check this online demo which demonstrates basic drag and drop operations in TreeListView control. The same example is also available in your local copy of our WPF demos.

As for your question about  details - you can check how this is achieved for the TreeView control in this online example. You can check how DragOver event is handled in the TreeViewDragDropBehaviour class. The same approach is applicable for TreeListView control as well.

Regards,
Yoan
Telerik by Progress
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Tags
TreeListView
Asked by
Ryan
Top achievements
Rank 1
Answers by
Yoan
Telerik team
Share this question
or