Drag and Drop to Task Pane hosting WPF control

Feb 15, 2013 at 11:38 AM

I have a requirement to drag and excel cell from a worksheet to a task pane.

This task pane contains a WPF control. The WPF control is hosted using ElementHost on a Winforms UserControl.

However, I have not been able to get the Drag Drop event handlers to fire.

I have enabled Drop by setting AllowDrop to True on all the controls. I have also set the background to transparent.

Has anyone tried this and got it working? Is there something in NetOffice that is preventing drag and drop, or some property I have to set.