Is there a way that I can use the built in Drag and Drop handler while Dragging and Dropping in a RadTreeView, while modifying the DragCue message? I have a couple of my own rules that I use in a PreviewDragEnded function, and I would like to change the DragCue to show what is allowed or not.
For example, if I have a tree with
Tree
--Nest
---Bird
---Bird2
I can set the PreviewDragEnded function to check that you don't drop a Nest into a bird. If you do, then I use e.handled = true and ignore the drag and drop action. I would like for the DragCue to show that it is not allowed first, instead of just not allowing it after the mouse button is released. I can do this if I write the DragQuery, DragInfo, DropQuery, and DropInfo functions, but I want to use the Rad versions of these functions that already exist (except for the modified DragCue, of course).
Thanks for your help.
Scott
For example, if I have a tree with
Tree
--Nest
---Bird
---Bird2
I can set the PreviewDragEnded function to check that you don't drop a Nest into a bird. If you do, then I use e.handled = true and ignore the drag and drop action. I would like for the DragCue to show that it is not allowed first, instead of just not allowing it after the mouse button is released. I can do this if I write the DragQuery, DragInfo, DropQuery, and DropInfo functions, but I want to use the Rad versions of these functions that already exist (except for the modified DragCue, of course).
Thanks for your help.
Scott