DockLayoutManager.FloatingMode Property
Gets or sets how floating panels can be dragged, within or outside the boundaries of the current window. This is a dependency property.
Namespace: DevExpress.Xpf.Docking
Assembly: DevExpress.Xpf.Docking.v19.2.dll
Declaration
Property Value
Type | Description |
---|---|
FloatingMode | A FloatingMode value that specifies how floating panels can be dragged. |
Available values:
Name | Description |
---|---|
Window | Floating panels are allowed to be dragged only within the current window. |
Desktop | Floating panels are allowed to be dragged throughout the desktop. |
Remarks
In Desktop mode, floating windows are displayed in front of the window with the DockLayoutManager. You can set the OwnsFloatWindows property to false
to separate DockLayoutManager and its child floating panels.
The following code sample allows end users to drag floating panels outside the window:
<dx:ThemedWindow
...
xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
xmlns:dxdo="http://schemas.devexpress.com/winfx/2008/xaml/docking">
<dxdo:DockLayoutManager FloatingMode="Desktop">
...
</dxdo:DockLayoutManager>
</dx:ThemedWindow>
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the FloatingMode property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.