This project has moved and is read-only. For the latest updates, please go here.

Drag and Drop to Task Pane hosting WPF control

Feb 15, 2013 at 12:38 PM
Hi

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.

Thanks
Chris