I am writing a VSTO addin for Excel that uses a custom task pane. The dock panel manager is on the user control that goes onto the task pane.
When the panels are dragged away initially they visible however, if you stop dragging and let the panel float, then return to the panel and drag it, it becomes invisible. At least that was my first thought. It goes to the back of the Excel application.
If you move the mouse around until you find a dock then dock the panel it returns to the front on the custom task pane.
If you have more than one panel and for the docking manager then try and drag and dock the panel to another at the edge again the panel goes to the back of the Excel application.
To resolve this I have tried many of the events for the panel, the user control and the dock panel manager in order to bring something back to the front with little success.
I am wondering if anyone else has encountered this?