Drag and Drop


I am working on an Addon that will provide a tree view which will list statements. Is it possible to enable drag and drop from the statement tree view into my custom tree view?



OK, so you will have the normal list of statements in Program Editor panel and another list of statements in a custom panel. You want to drag and drop statements from custom panel to the Program Editor panel?

If so, sounds like you just need to know which event listener to use or need to create a new one. Perhaps developer can comment, but I would first try to create a background plugin that subscribes to event aggregator to listen for drop event. If that doesn’t work, my next approach would be to look at how it’s done in Caliburn.Micro.