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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

DockingManager: programmatically dock a new window inside a window in the DockingManager

Thread ID:

Created:

Updated:

Platform:

Replies:

107459 Mar 4,2013 10:23 AM UTC Mar 13,2013 11:44 AM UTC WPF 3
loading
Tags: Tools
Jonas Toemmler
Asked On March 4, 2013 10:23 AM UTC

Hello,
 
my problem is, that I want to have a specific alignment when I have for example four windows inside the docking manager. I want to have one on top left, the other one on top right and the bottom ones on bottom left and bottom right. But with SetSideInDockedMode() I can only choose Bottom,Top,Left and Right and combining bitwise (DockSide.Bottom | DockSide.Left) does not work. So is there a way to choose the Window inside the docking manager on which I want to dock or is there any other way to do this?
 
Maybe there is someone who can help me?
 
Thanks a lot!

Berkunath A [Syncfusion]
Replied On March 7, 2013 11:08 AM UTC

Hi Jonas , 

Thanks for using Syncfusion Products. 

Currently we don't have support for combining bitwise DockSide in SetSideInDockedMode .But we made a workaround(Sample) to meet your requirement .I have attached the sample as per your requirements in the following link. Please run the sample and let us know if it helps you. 

[sample link] 

http://www.syncfusion.com/downloads/Support/DirectTrac/105284/WpfApplication4-2010887973.zip

 Please let us know if you have any concerns.

 Regards, 

Berkunath A



WpfApplication4_48d47281.zip

Jonas Toemmler
Replied On March 7, 2013 03:06 PM UTC

Hello Berkunath,

thank you for your response. This is really tricky to do a docking order for this. But there is missing that the windows should all be same sized and are covering the whole content of the DockingManager without such border in the middle. So that you can see the most of every window.

But instead of this, that was the clue I was locking for! Thanks!

BR Jonas


Berkunath A [Syncfusion]
Replied On March 13, 2013 11:44 AM UTC

Hi Jonas,

Thanks for the update.

We can’t set the same size for all docked window while dock using SetSideInDockedMode. But we can  set the desired size for dockedwindow  by using the method  SetDesiredWidthInDockedMode()  and SetDesiredHeightInDockedMode(). I have attached the sample as per your requirement in the following link. Please run the sample and let us know if it helps you.

Sample :

http://www.syncfusion.com/downloads/Support/DirectTrac/105627/DockingManager193890885.zip

Please let us know if you have any concerns.

Regards, 
Berkunath A



DockingManager_aa465437.zip

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;