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

How to disable the Mouse Support for the dock?

2 Answers 65 Views
Dock
This is a migrated thread and some comments may be shown as answers.
红耀
Top achievements
Rank 1
红耀 asked on 07 Aug 2018, 10:07 AM

I don NOT want a ToolWindow float. I have disabled the ContextMenuService and the DragDropService. But end-user still can double click the title bar to make the ToolWindow floating. (Double-clicking the title bar of a ToolWindow un-docks the panel so that it floats. Double-clicking the title bar of a floating window docks the ToolWindow.)

How to disable the double-click event to prevent the ToolWindow floating?


2 Answers, 1 is accepted

Sort by
0
Accepted
Dimitar
Telerik team
answered on 07 Aug 2018, 11:51 AM
Hi,

It would be better to set the AllowedDockStates of the window. Detailed inforation is available here: AllowedDockStates | RadDock

I hope this will be useful. Let me know if you have additional questions.

Regards,
Dimitar
Progress Telerik
Get quickly onboard and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
红耀
Top achievements
Rank 1
answered on 08 Aug 2018, 01:03 AM
It works. Thank you!
Tags
Dock
Asked by
红耀
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
红耀
Top achievements
Rank 1
Share this question
or