resizing a docking window programmatically

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.

1 Reply

RC Rajesh C Syncfusion Team 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.

Regards,
Rajesh C

Loader.
Up arrow icon