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

resizing a docking window programmatically

Thread ID:





60830 May 12,2007 02:16 AM UTC May 14,2007 05:43 PM UTC WinForms 1
Tags: Tools
Chris Thompson
Asked On May 12, 2007 02:16 AM UTC

Is there a way to resize a docking window programmatically? If I programmatically change the size of a control that has been docked, the docking window does not adjust its size accordingly to match the size of the control.

Rajesh C [Syncfusion]
Replied On May 14, 2007 05:43 PM UTC

Hi Chris,

You can resize the docking window programmatically by using the dockingManager's SetControlSize() method. Please refer the following code snippets which illustrates the same:

[ C# ]

this.dockingManager1.SetControlSize(this.panel1, new Size(80, this.panel1.Height));

I hope this will meet your requirement. Please let me know if you have any other queries.

Thank you for using Syncfusion products.

Rajesh C


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

or the page will be automatically redirected to 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