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.

Making DockingManager respect form''s size limits

Thread ID:





12444 Mar 30,2004 09:07 AM Apr 5,2004 05:54 AM Windows Forms 3
Tags: Tools
Administrator [Syncfusion]
Asked On March 30, 2004 09:07 AM

I have code similar to the following: Form f = new Form(); DockingManager d = new DockingManager(); ... // initialize f, put d in f ... Form g = new Form(); ... g.Size = new Point(100,100); g.Locked = true; ... // add g to f, enable docking for g It seems to me the appropriate behavior here is to allow docking for g, but to keep its size fixed. This is not what happens, however; instead the DockingManager allows clients to freely resize the form (g, in this example). Is there a workaround for this?

Administrator [Syncfusion]
Replied On March 30, 2004 08:46 PM

Hi Feminella, You could prevent all the docking windows associated with the DockingManager from being resized by setting the FreezeResizing property to true. Please refer to the sample attached that illustrates this. Thanks for considering Syncfusion products. Regards, Guru Patwal Syncfusion, Inc.

Replied On April 5, 2004 12:59 AM

What version of Syncfusion does this require? I get an error saying that the specified property does not exist. David

Administrator [Syncfusion]
Replied On April 5, 2004 05:54 AM

Hi David, The DockingManager''s FreezeResizing property was added recently, and the above sample was created using our latest release Essential Suite v2.0.3.0. Please open an incident in DirectTrac in this regard if you wish to receive this version. We appreciate your cooperation, and thanks for your interest in Syncfusion products. Regards, Guru Patwal Syncfusion, Inc.


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.

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.