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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Docking Manager - SetControlMaximumSize ?

Thread ID:





26321 Mar 21,2005 12:12 PM UTC Mar 21,2005 06:32 PM UTC WinForms 2
Tags: Tools
Guillem Mazarico
Asked On March 21, 2005 12:12 PM UTC

Hello, I would like to know if it is possible to prevent the user from changing a control''s height or width (i.e. a window which width cannot be resized). I also found the SetControlMinimumSize quite interesting, but is there a similar method for a maximum size ? I have not found one. Thank you

Administrator [Syncfusion]
Replied On March 21, 2005 05:37 PM UTC

Hi Guillem, If you set DockingManager.FreezeResizing = true, the user won''t be able to resize the windows. Regards, Gregory Austin Syncfusion Inc.

Guillem Mazarico
Replied On March 21, 2005 06:32 PM UTC

Hello, thank you for your answer, but I may not have been very clear abour my requirements. I would like to prevent the user from resizing the width of a window of type A (say a window containing text), but let him resize the width and the height of a window of type B (say a window containing an image). The Freeze method would not work for me in this case. Thanks.


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

Live Chat Icon For mobile
Live Chat Icon