I’m have 2 palettes from which I drag items into the main diagram.
In order to distinguish between them I’ve set the DataFormat of them to different strings.
On the main diagram I have a dragging tool that handle the dropping of the items.
Currently there is a single tool for both of the types of items each palette has.
I would like to write two different tools because they do very different work during dropping. The problem is I don’t have access to the dragged data during the CanStart method so I can’t tell there which type of data is dragged on the digram.