Hello,
I've implemented drag and drop functionality by referring to the CustomTreeListBoxItemAdapters
in the TreeListBoxDragDropsample
, but it's not working as I'd like. When you drag and drop an item, its depth can be changed. However, I want to prevent items from changing depth when moved, just like in Word, when you move headins in the Navigation Pane.
I've tried to modify the method myself, but I encountered a lot of strange behaviors, and I'm unsure how to make the drop area line indicator full width to show that the depth will not change.
Is there a simple way to make drag-and-drop maintain the current depth of an item even after it's been moved?
Thank you in advance!
Benjamin.
[Modified 2 months ago]