Request: Image DragAndDropContainer::getCurrentDragImage()

I’m building a TreeView where the user can drag more than one row and I wan’t to add a badge count so it’s obvious there’s more than one item being dragged.

There’s no way to customise the Image used for the drag operation in TreeView but I’ve figured out a work around by updating the drag image after the drag has started.

This works but because I have no way of getting the original image, my new square badge image floats away from the mouse cursor as the offset is still based on the original long row Image.

Probably the easiest way of fixing this is to add an accessor to get the current Image, I can then add mine on top and update the drag image.

Alternatively, adding a way to update the offset position or even a way to customise the TreeView drag image would be good.