We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Add chromelees windo to DockingManager

  chromelees temp1 = new chromelees();
  DocumentContainer.SetMDIBounds(temp, new Rect(10, 10, 700, 500));
  DocumentContainer.SetHeader(temp, "Dashboard1");
         

  DockingManager.SetState(temp1, DockState.Document);
  this.DockingManager.Children.Add(temp1);

3 Replies

VR Venkateshwaran Ramdoss Syncfusion Team February 8, 2016 09:32 AM UTC

Hi Kumar,

We have checked the code example provided by you in that last update. In this you have tried to add ChromelessWindow as child to DockingManager. In WPF, we cannot add window as child to another window and this is the behavior. In the same case you cannot add ChromelessWindow as child within other window.

Can you please provide more information about your requirement? It would help us to provide you an appropriate solution.

Regards,
Venkateshwaran V.R


KJ Kumar Jyoti February 9, 2016 07:35 PM UTC

I am using MDI form and open multiple form in one time.


VR Venkateshwaran Ramdoss Syncfusion Team February 10, 2016 11:37 AM UTC

Hi Kumar,

In our DockingManager, we can add FrameworkElement as child in Document State to create MDI Forms. But we cannot add any window as child to it. We have prepared a sample with multiple MDI form. Please download the same from the below link.

Sample:MDIsample

Regards,
Venkateshwaran V.R.

Loader.
Live Chat Icon For mobile
Up arrow icon