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

Set window to dock only

Is there a way to set a window to only dock?

4 Replies

AD Administrator Syncfusion Team August 18, 2003 06:29 PM UTC

Hi Brad, The docking windows can be set to only dock by setting the DisallowFloating property of the docking manager to True. Regards, Guru Patwal.


AD Administrator Syncfusion Team August 19, 2003 10:03 AM UTC

Setting the DockingManager.DisallowFloating property will disable floating capability at the DockingManager’s level ie., all dockable controls hosted by the DockingManager will be rendered non-floatable. If you want to keep the non-floating behavior exclusive to a particular control/controls then this has to be done by handling the DockingManager.DragAllow event and if the DragAllowEventArgs.Control param references the particular control then the event should be cancelled by setting the DragAllowEventArgs.Cancel value. Regards, Guru Patwal.


AD Administrator Syncfusion Team October 17, 2005 09:01 AM UTC

Setting the DragAllowEventArgs.Cancel implies that even normal docking is not possible any more. Is there a way to disallow floating for one specific control without losing the capability to drag this control to another docking position. Thank you.


VS Vijayanand S Syncfusion Team October 18, 2005 01:42 PM UTC

Hi, Currently the DisallowFloating property of the docking manager can only be applied to all the controls in the docking manager. I have created a feature request with the development team to add a new method , something like SetDisallowFloating(Control cont) that would disable the specified control from floating but would still allow docking. We will try to implement this feature as soon as possible. Thanks for using Syncfusion Products. Regards, Vijay

Loader.
Live Chat Icon For mobile
Up arrow icon