
I use a TreeListBox and I have implemented a TreeListBoxItemAdapter to manage drag&drop.
Everything works fine, except for this :
During dragover, I would like to prevent the TreeListBox to auto-expand one node when I know that drop cannot happen in this node subtree.
I have tried :
- to set the TreeItemDropArea toTreeItemDropArea.After and the DragDropEffects to DragDropEffects.None in the OnDragOver method : no result
- to override the GetExpandability method : I find no way to manage node expandability only for drag operation
Is there a way to prevent a TreeListBox to auto-expand nodes during dragover ?