I'm using xamDockManager in my WPF application but I need to use a webbrowser control. So in my DocumentContentHost I have a WidowsFormsHost wrapping the WinForms webbrowser control. This all works fine except for when I have an unpinned dock panel. The panel pops out when I move the mouse over the header but the panel draws behind the webbrowser. If I pin the panel the the webbrowser is correctly resized and everything is fine. It's just when the dock panel is in the unpinned state that it appears behind. Any way I can fix this or will I have to go the the beta WPF webbrowser?
Thanks,
Adam
I am doing exactly the same thing and running into the exact same problem.
Webbrowser control wrapped in WindowsFormsHost control, hosted by DocumentContentHost. When unpinned and hidden panel files out, it sildes behind the Webbrowser control.
When a pane is unpinned, the XamDockManager doesn't hide that control in order to allow the pane to retain focus as occurs in VS. We would probably have to hide any pane that contains a WindowsFormsHost. I don't believe a workaround is currently available. You should report the issue to the support group.
I have a similiar problem.
I host a WinForm UserControl in a ContentPane. If the pane is unpinned, it drifts away correctly but
the UserControl is paint at position (0,0) over the other panes and the DocumentContentHost.
Exist there a workaround for this problem?
Thanks
Mathias