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

Docking Manager - SetControlMaximumSize ?

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

2 Replies

AD Administrator Syncfusion Team 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.

GM Guillem Mazarico 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.

Live Chat Icon For mobile
Up arrow icon