Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1285
Open Window, Page in dock manager
posted

I have been trying to open a window or page to dock into manager.

I tried using this code:

 Window2 p = new Window2(); ContentPane c = xamDockManager1.AddDocument("Testing", p);

 

I get an error that window parent can only be a window.  I tried a page object as well.

What seems to work is a usercontrol. 

Is there something I am missing?

thanks

Rick