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

Prgrammatically docking panels

Thread ID:





75964 Aug 18,2008 01:25 PM UTC Aug 20,2008 04:08 AM UTC WinForms 3
Tags: GridControl
Andy Chan
Asked On August 18, 2008 01:25 PM UTC


I am using Syncfusion and I'm wordering if there is a way to programmatically dock 2 panels to the left-hand side of the form I'm in. I'd like to avoid using auto-generated code where possible. I've attached a picture of what it "should" look like. Thanks for your help!


Administrator [Syncfusion]
Replied On August 19, 2008 11:22 AM UTC

Hi Andy,

Thank you for your interest in Syncfusion Products.

Docked control can be docked to any of the four sides of the container control. i.e., to Left, Right, Top and Bottom. DockingManager lets you specify the type of docking and the bounds of the docked control using the DockControl method.

Please refer the below code.

this.dockingManager1.DockControl(this.panel1, this, Syncfusion.Windows.Forms.Tools.DockingStyle.Left,100);
this.dockingManager1.DockControl(this.panel2, panel1 , Syncfusion.Windows.Forms.Tools.DockingStyle.Bottom,200);

Please refer the tutorial link for more detail.

Please refer the simple sample for your reference.

Please let me know if any concerns.


Andy Chan
Replied On August 19, 2008 03:32 PM UTC

Thank you very much, this is exactly what I was looking for!

Administrator [Syncfusion]
Replied On August 20, 2008 04:08 AM UTC

Hi Andy,

Thank you for the update.



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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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