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
210
Loading a WPF Window (form) in a xamDockManager
posted

Hi all, I am very new to Infragistics, Just started two days back, and also new to WPF, same age!

Previously I worked in .NET 2.0 and use WeifenLuo Docking control, many of you have used this, since it is a very good and common opensource control, Now I want to do the same in WPF using this xamDockManager control. Can some one share some piece of code to load a window in xamDockManager.

An earliest reply is needed.

 

Regards

Muhammad Sharjeel Ahsan

Parents
No Data
Reply
  • 54937
    Suggested Answer
    Offline posted

    You cannot contain a WPF Window in any element - it will explicitly throw an exception when you try this. I'm not sure why you want to use a Window but if its so that you can show the same content in a separate window in other situations then I would recommend that you create a UserControl. You could put an instance of that UserControl as the Content of a ContentPane or if you want to show it in a WPF Window then you would put an instance of it as the Content of your WPF Window instance.

Children