As far as I understood what you have in mind you need to be able to drag and drop RadTreeViewItems
before / after other TreeViewItems
. In order to do that you need to set the IsDragDropEnabled
property to "True
", by doing so you activate the built-in support for DragDrop
in the RadTreeView
Please note that if you are using a data-bound RadTreeView you may need to implement custom drag and drop logic in order to copy your business items (like it's shown in the SDK example).
More information about the DragDrop
feature of the RadTreeView
you can find in the following articles:
From your screen shot I'm not entirely sure do you want to leave an empty space when you move an item?
As for the second part of your question where you mention that you need to add for example an item next to the select one, is this somehow related to the drag drop process or it is a separate requirement that can be performed programmatically ?