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.
Syncfusion Feedback

Disable a Dock Target

Thread ID:

Created:

Updated:

Platform:

Replies:

41913 Mar 14,2006 09:45 PM UTC Mar 15,2006 01:43 PM UTC Windows Forms 2
loading
Tags: Tools
Jonathan Quail
Asked On March 14, 2006 09:45 PM UTC

In the current Docking Manager, is there an easy way to disable a Dock Target when the user drags a window over the "Docking Guide"? In our application, if the user drops a docked window into the Fill/Tabbed position in the center of the guide, it docks the window to the Main Form in a fill/tabbed position and this causes problems in our system. I can handle the DockAllow event to do it manually, but ideally it would be nice to have that guide target disabled alltogether, instead of having them drop the window there and have it still floating since we canceled the event.

Jonathan Quail
Replied On March 14, 2006 09:46 PM UTC

Forgot to mention - we are using Syncfusion 4.1.0.50 and the DockingManager class.

Joy K George [Syncfusion]
Replied On March 15, 2006 01:43 PM UTC

Hi Jonathan, I am afraid,there is no possible method to disable the dragprovider.The only way is to change the style to Standard upon dragging.So it wont display the control floated, till you cancel the event. Please let me know,if you have any other queries. Thanks for your interest in Syncfusion. Regards, Joy

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.

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

;