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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

making controls dock to non default edge with the dockingManager

Thread ID:

Created:

Updated:

Platform:

Replies:

92968 Feb 16,2010 06:27 PM UTC Feb 19,2010 12:36 PM UTC Windows Forms 3
loading
Tags: Tools
Chris Ramirez
Asked On February 16, 2010 06:27 PM UTC

I added a docking manager to a user control.
When I add a control, and set: enable docking to docking manager to true, the control allways docks to the left of the form.

what property to I need to set to make it dock on the righ edge?
I tried dragging in the VS designer, but can't get it to catch the right edge either.




Dhivya K [Syncfusion]
Replied On February 17, 2010 01:00 PM UTC

Hi Chris,

You can set the docking style while docking using DockControl as follows:

this.dockingManager.DockControl(this.listBox1, this.listBox2,Syncfusion.Windows.Forms.Tools.DockingStyle.Right,200,true);

You can find more information in our UG at following location:
http://help.syncfusion.com/ug_81/WindowsFormsUI_Tools/default.html

Please let me know if you have any question.

Regards,
Dhivya.

Chris Ramirez
Replied On February 17, 2010 02:19 PM UTC

Tried this, but did not seem to work. I am also using a set of controls that are not to be docked (all inside a docking client panel, which I set the SIzeToFit property to true in the designer

could this be interfering ? since when I add the control that I want docked, it takes the left edge and the docking client fills the remainder of the layout (I want the opposite effect the docking control on the right and the docking client panel on the left)

I added the line of code you send, outside the InitializedComponent() call

It seems to me that this property should be exposed in the Visual Studio Designer (as I drag and drop controls...)

Thanks.

Dhivya K [Syncfusion]
Replied On February 19, 2010 12:36 PM UTC

Hi Chris,

Can you please look into our sample at following location on DockingClientPanel?

C:\Documents and Settings\username\My Documents\Syncfusion\EssentialStudio\{version}\Windows\Tools.Windows\Samples\2.0\Docking Package\SDI Demo\

Could you please create a Direct incident and send me your sample to reproduce the issue? This will help me providing you with a suggestion on the same.

Regards,
Dhivya.

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

;