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

How to prevent dockable window from floating?

Thread ID:





3170 Mar 6,2003 02:42 PM UTC Mar 7,2003 12:33 PM UTC WinForms 2
Tags: Tools
Thomas A. Anderson, Program Writer
Asked On March 6, 2003 02:42 PM UTC

Is there a way to prevent a user from floating a dockable window? I'm responding to the DockAllow event, but this event is never fired when the user moves a window from a docked state to a "floated" state. For this reason, I never have a chance to set the Cancel property to true. Any ideas?

Charles Wolfersberger
Replied On March 7, 2003 07:24 AM UTC

Have you looked at the DragAllow event? Chuck

Thomas A. Anderson, Program Writer
Replied On March 7, 2003 12:33 PM UTC

Ah, I must have missed that. Seems to work. 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