This is a migrated thread and some comments may be shown as answers.

Make a dock panle "undockable"

1 Answer 62 Views
Dock
This is a migrated thread and some comments may be shown as answers.
marco rossi
Top achievements
Rank 1
marco rossi asked on 09 Jul 2009, 11:30 AM
Hi, is there a way to make a floating dockpanel undockable using drag & drop?

1 Answer, 1 is accepted

Sort by
0
Mike
Telerik team
answered on 09 Jul 2009, 04:39 PM
Hi marco rossi,

Thank you for contacting us.
It is possible to disallow docking of a floated window, with a few lines of code.
Each ToolWindow has a property AllowedDockState with in you case you should set to anything else but "Docked". However RadDock still does not offer functaionlity like for example Visual Studio for Floating Windows and you should manage the value of this property manually.

You may also take a look at the eventa RadDock.DockStateChanging/Changed wich can be used to track dock window states or to cancel a docking operation. However currently there is not any way to prevent docking form showing the docking guides.

We are considering enhancing this functaionality for the upcomming SP1 and making it more the "Visual Studio" way, where you cannot dock a window back if it's state was set to "Floating" from the context menu.

I hope this info was usefull. We will appreciate any feedback you may have about this feature or RadDock as a whole.

Greetings,
Mike
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Dock
Asked by
marco rossi
Top achievements
Rank 1
Answers by
Mike
Telerik team
Share this question
or