I am using the wpf treegrid and want to be able to drag only certain items into only certain drop targets within the tree.
I noticed all of the querycontinue and other Wpf drag drop events do not fire at all so the only option I have to choose if a target is valid or not is what the documentation references: the IsDropAllowed property on the RadTreeItem itself.
the problem with this is all it does is suppress the preview from actually moving the item in the tree. I need to be able to change the drag icon to some sort of indicator saying the target is invalid. Just like WPF allows with its DragEventArgs.Effects = DragDropEffects.None
any help is very much appreciated. It seems rediculous to recurse through the entire tree on every DragStarted eventHandler and set the isDropAllowed to true or false for each node. But even if that is the only acceptable method for some strange reason, it should at least work and change the cursor to an (X)
I noticed all of the querycontinue and other Wpf drag drop events do not fire at all so the only option I have to choose if a target is valid or not is what the documentation references: the IsDropAllowed property on the RadTreeItem itself.
the problem with this is all it does is suppress the preview from actually moving the item in the tree. I need to be able to change the drag icon to some sort of indicator saying the target is invalid. Just like WPF allows with its DragEventArgs.Effects = DragDropEffects.None
any help is very much appreciated. It seems rediculous to recurse through the entire tree on every DragStarted eventHandler and set the isDropAllowed to true or false for each node. But even if that is the only acceptable method for some strange reason, it should at least work and change the cursor to an (X)