This question is locked. New answers and comments are not allowed.
Hi,
is there any possibility at that moment to handle dropQuery in a treeView? It would be very useful, to be able to set the possibility of dropping specified object on specified tree.
For now, the only possibility I see is to handle PreviewDragEnded event and check for the correct data and handling this event preventing from adding this item. It would be much more useful and readable, if there is a icon telling the user, that he cannot drop specified item on this tree.
The problem is only when dragging items between to tree views. When dragging from another control it is possible to check the DragQuery with status equal to DropSourceQuery and then it is possible to check the destination control against the allowed destinations for specified object type.
But I don't see any possibility to get it working with two (or more) tree views.
I'm using the latest version of silverlight controls.
Thanks in advance for any help.
Marcin Danek
is there any possibility at that moment to handle dropQuery in a treeView? It would be very useful, to be able to set the possibility of dropping specified object on specified tree.
For now, the only possibility I see is to handle PreviewDragEnded event and check for the correct data and handling this event preventing from adding this item. It would be much more useful and readable, if there is a icon telling the user, that he cannot drop specified item on this tree.
The problem is only when dragging items between to tree views. When dragging from another control it is possible to check the DragQuery with status equal to DropSourceQuery and then it is possible to check the destination control against the allowed destinations for specified object type.
But I don't see any possibility to get it working with two (or more) tree views.
I'm using the latest version of silverlight controls.
Thanks in advance for any help.
Marcin Danek