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.

Docking Manager - SetControlMaximumSize ?

Thread ID:

Created:

Updated:

Platform:

Replies:

26321 Mar 21,2005 07:12 AM Mar 21,2005 01:32 PM Windows Forms 2
loading
Tags: Tools
Guillem Mazarico
Asked On March 21, 2005 07:12 AM

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 12:37 PM

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 01:32 PM

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.

CONFIRMATION

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.

;