Approved
Last Updated: 10 Nov 2017 18:04 by ADMIN
ADMIN
Kalin
Created on: 10 Nov 2017 17:57
Category: Docking
Type: Bug Report
0
Docking: Not possible to dock Pane into the topmost ToolWindow, when two ToolWindows are overlapped
The compasses of the other ToolWindow appear.
1 comment
ADMIN
Kalin
Posted on: 10 Nov 2017 17:59
Workaround - when RadPane is activated bring its ToolWindow to front. Hook to ActivePaneChanged event and implement the following handler;

private void RadDocking_ActivePaneChanged(object sender, ActivePangeChangedEventArgs e)
{
    if (e.NewPane != null && e.NewPane.IsFloating)
    {
        var toolWindow = e.NewPane.ParentOfType<ToolWindow>();
        if (toolWindow != null)
        {
            toolWindow.BringToFront();
        }
    }
}