Please note - this question pertains to the WPF Tools TreeViewAdv control. The submission form for the forum doesn't work when trying to create a question with WPF as the platform!
I have a tree view control that allows dragging items for copies and moves within the same tree. Certain types of nodes within this tree cannot be drop targets for certain other types of nodes, so I would like to disallow drops during a drag. Typically, setting the Effects property to None in the DragEnter or DragOver event handler should provide the needed mouse cursor feedback indicating that the operation isn't allowed. However, nothing I've been able to do stops the tree view from completing the drag/drop. It always moves or copies the nodes even when I set the Effect to None.
I've set event handlers at both the TreeViewAdv control level and at the TreeItemAdv control level (through a style) but I can't seem to get the behavior I want.
How can I take deeper control of this capability? None of the samples provided do anything like this.
Can you provide some guidance on this please?
Thanks,
Kevin