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.

Lock docking of components

Thread ID:

Created:

Updated:

Platform:

Replies:

8454 Nov 6,2003 10:41 AM Nov 7,2003 08:51 AM Windows Forms 2
loading
Tags: Tools
Administrator [Syncfusion]
Asked On November 6, 2003 10:41 AM

Hi Is there any way of disable the docking funtionality of components in the docking manager. For example if user is happy about his gui setup and dont want to "accidentally" change his gui. It would be nice to be able to say dockingManager.lock() or something like that. thanks Haukur

Administrator [Syncfusion]
Replied On November 6, 2003 12:15 PM

Hi Haukur, You could handle the DockingManager's DragAllow event for this purpose and set the DragAllowEventArgs' Cancel property to true. This will prevent the docking windows from being dragged and the GUI layout being changed accidentally. Please refer to the sample application which shows how this can be done. Please let me know if this helps. Thanks for choosing Syncfusion products. Regards, Guru Patwal. Syncfusion, Inc.

Administrator [Syncfusion]
Replied On November 7, 2003 08:51 AM

Hi this solved my problem Thanks Haukur > Hi Haukur, > > You could handle the DockingManager's DragAllow event for this purpose and set the DragAllowEventArgs' Cancel property to true. This will prevent the docking windows from being dragged and the GUI layout being changed accidentally. Please refer to the sample application which shows how this can be done. Please let me know if this helps. Thanks for choosing Syncfusion products. > > Regards, > Guru Patwal. > Syncfusion, Inc.

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.

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.

;