TreeListView Features Example

2 posts, 0 answers
  1. Ryan
    Ryan avatar
    4 posts
    Member since:
    Nov 2015

    Posted 10 Aug Link to this post


    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)


  2. Yoan
    Yoan avatar
    1053 posts

    Posted 15 Aug Link to this post

    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 dropindicator 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.

    Telerik by Progress
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  3. DevCraft banner
Back to Top