onDrop event not fired when using Rhino Panel

Dear community,

I have a question regarding drag & drop when developing a wpf plugin.

Before I could have my drop event fired on a listBox like normally how it works in a wpf app.

private void listBox_OnDrop(object sender, DragEventArgs e)
        {
           ...
        }

But after I changed my plugin from a WPF window to Rhino Panel, this OnDrop event can never be fired again. I wonder if anyone knows if WpfElementHost is doing something under the hood that makes it different?

If so, what would be correct way to implement OnDrop event listener?

Best,
Chen

@johnm - is this something you can help with?

Chen,
I would be happy to take a look at this if you could provide me with a simple plug-in project showing what you are trying to do.

Hi John @JohnM , thanks a lot for your reply. Here is a minimum example project.

DragAndDropExample.zip (106.5 KB)

Would be great to know how drag and drop works in this kind of setup.

Thanks in advance.
Best,
Chen

Hey @dale @JohnM

Sorry to bother you again. Maybe the above example is not good enough. Would it be possible to provide a sample code on how to drag and drop items between two listBoxes in a rhino panel? I can’t find any examples in your official Github.

Thanks again!
Chen