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

Trouble with size on docking

Hi. I have a frame that has non-resizable items in it. Thus, the frame must be 400x300 pixels, for example. How can I make it such that the frame does not resize to below the minimum size requirement when I try to dock it? If the required real estate is not available, I would like it to not be accepted for docking.

1 Reply

AD Administrator Syncfusion Team April 5, 2004 12:54 PM

Hi David, You could specify a minimum size to docked control using the DockingManager''s SetControlMinimumSize method. The best place to invoke this method would be the DockingManager''s NewDockStateEndLoad event handler. Please refer to the sample_attached here which illustrates the same. Thanks for considering Syncfusion products. Regards, Guru Patwal Syncfusion, Inc.

Loader.
Live Chat Icon For mobile
Up arrow icon