ToolWindows can reside in docked or floating docking containers. Floating containers are still controlled by RadDock.
There are multiple ways to float a ToolWindow:
Drag the ToolWindow out of the docked container area to an existing floating container.
Drag the ToolWindow to any area within the DockingAssistant other than a drop target icon, the RadDock will create a new floating container with the ToolWindow in it.
Right click the ToolWindow title bar and select Floating from the context menu.
Double-click the title bar.
You can drag DockPanels to an existing floating container. Select left, right, top, or bottom drop targets to create a split-cell layout, just as you would with a docked container.
To "un-float" a ToolWindow, drag the title bar to a docked container, or double-click the title bar.
If you use the drop target icons in the DockingAssistant outer zone, the RadDock will create a new docking container. The ToolWindow that was in a floating container will fill the new docked container.
If you use the drop target icons in the inner zone different than the fill option, the RadDock will insert the ToolWindow that was in the floating container into an new docked container. Then, it will rearrange other docking containers within that container to accommodate the new docking container, subject to any minimum or maximum size restrictions.
Document windows can also reside in a floating window. To make a document window float, drag its tab outside of any docking container. This will create a floating window with the document inside it.
You can drag document windows to an existing floating container. Select left, right, top, or bottom drop targets to create a split-cell layout or select the fill target to create a tab for the document in the existing document container.
To enable the Visual Studio 2008-like docking behavior, set the SingleScreen property to true. Enabling this property will prevent document windows from floating and from docking inside existing floating windows.
this.radDock1.SingleScreen = true;
Me.RadDock1.SingleScreen = True
This section describes the FloatinWindows specific properties.
- Standalone: Allows the floating window to behave like separate form and appear in the taskbar.
- SnapToScreen: Indicates whether this window should snap to the screen's edges.
- SnapToOthers: Indicates whether this window should snap to other windows.
- SnapThreshold: Indicates whether the threshold between edges before the window snaps.
- SnapOnResize: Indicates whether this window should snap while resizing.
- SnapOnMove: Indicates whether this window should snap while dragging.
The snapping functionality can be enabled/disabled by using the EnableFloatingWindowSnapping property of RadDock.