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

Is there a way to control the condition to make pane to be come floating?

1 Answer 63 Views
Docking
This is a migrated thread and some comments may be shown as answers.
King Chan
Top achievements
Rank 1
King Chan asked on 01 Sep 2010, 05:09 PM
Hello Telerik Staff,

I think this is kind of hard to explain, please try to understand :)

Say when I grouped few panes into the split contrainer, there will be few document tab with tab header.
I can click each tab header to switch to different tab content.
But the problem is, when I click on the tab header, is very often that I will move my mouse a little bit and that's turned to a "dragging".
The RadDocking will think I am trying to drag the pane out and it becomes a floating windows.

If compare with the docking in Visual Studio, if you doing a drag over theTab Header, as long as you don't drag outside of the Tab Header, the pane is not going to become a floating window.

So is there a way that I could control the dragging? Like use event to see how far the user dragged on the Tab Header then I will make the pane to become float?

Thanks

1 Answer, 1 is accepted

Sort by
0
Accepted
Miroslav Nedyalkov
Telerik team
answered on 06 Sep 2010, 01:26 PM
Hello King Chan,

 The only way to control when a drag of a pane will be started is to set the RadDragAndDropManager.DragStartThreshold static property. There one problem if you set it to be too big - it also affects the size of the are of the ToolWindow that can be dragged to resize it.

Hope this helps!

All the best,
Miroslav Nedyalkov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Docking
Asked by
King Chan
Top achievements
Rank 1
Answers by
Miroslav Nedyalkov
Telerik team
Share this question
or