How to make a docked control float only?

9 Dec 20191 minute to read

The docked control can also be only floating and cannot be docked, by calling the SetFloatOnly method.

Parameter Description
SetFloatOnly Make the docked control a float only control.

Ctrl

- The control for which docking is enabled.

bFloating

- Represents a Boolean value, `true`, to disabled docking.
this.dockingManager1.SetFloatOnly(this.listBox2, true);
Me.dockingManager1.SetFloatOnly(Me.listBox2, True);