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

2 posts, 1 answers
  1. King Chan
    King Chan avatar
    30 posts
    Member since:
    Feb 2010

    Posted 01 Sep 2010 Link to this post

    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?

  2. Answer
    Miroslav Nedyalkov
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 06 Sep 2010 Link to this post

    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
  3. DevCraft R3 2016 release webinar banner
Back to Top