Approved
Last Updated: 20 Nov 2017 12:49 by ADMIN
ADMIN
Hristo
Created on: 05 Oct 2017 10:10
Category: Dock
Type: Bug Report
1
FIX. RadDock - floating HostWindows after Save/Load layout are restored as ToolWindows
Workrarund:
If possible create tool-windows with added user controls
public static ContentUserControl CreateContentUserControl(RadDock dock)
{
    ContentUserControl uc = new ContentUserControl();
    if (dock != null)
    {
        ToolWindow hostWindow = new ToolWindow("ContentUserControl");
        hostWindow.Controls.Add(uc);
        hostWindow.Name = uc.Name;
        dock.FloatWindow(hostWindow);
    }

    return uc;
}
0 comments