I have a radtreeview that is a drag source only. It should never accept a drop.
My properties on the RadTreeView are:
IsDragDropEnabled="True" (I need drag)
AllowDrop="False"
dragDrop:RadDragAndDropManager.AllowDrop="False"
AddHandlers for RadDragAndDropManager.DropQueryEvent and RadDragAndDropManager.DropInfoEvent (I added these in a final attempt to consume the event and disallow the drop)
Despite this, if a node is sourced from the tree view and released onto a sibling node in the same treeview the drop is accepted as a drop/copy and the node is added as a child.
To be a little more clear: The tree has a single level (i.e. all nodes are siblings).
If I move a selected node around in the tree NOT over another node and release, the drop is rejected and nothing happens. So far so good. But if I drop over a sibling node, the sibling node highlights. If I release at that moment the drop is accepted and the payload node is copied as a child of the highlighted node.
As you can see I have taken the programming equivalent of a hammer to try to get the desired behavior and so far have failed. Is there a correct way to achieve this?
Thank you,
Paul
My properties on the RadTreeView are:
IsDragDropEnabled="True" (I need drag)
AllowDrop="False"
dragDrop:RadDragAndDropManager.AllowDrop="False"
AddHandlers for RadDragAndDropManager.DropQueryEvent and RadDragAndDropManager.DropInfoEvent (I added these in a final attempt to consume the event and disallow the drop)
Despite this, if a node is sourced from the tree view and released onto a sibling node in the same treeview the drop is accepted as a drop/copy and the node is added as a child.
To be a little more clear: The tree has a single level (i.e. all nodes are siblings).
If I move a selected node around in the tree NOT over another node and release, the drop is rejected and nothing happens. So far so good. But if I drop over a sibling node, the sibling node highlights. If I release at that moment the drop is accepted and the payload node is copied as a child of the highlighted node.
As you can see I have taken the programming equivalent of a hammer to try to get the desired behavior and so far have failed. Is there a correct way to achieve this?
Thank you,
Paul