'Docking control with DockingStyle.Fill to DockingManager's host control not allowed.'
It is no possible to make a docked panel automatically fill the available space, there is always a gap. In Visual Studio there is no gap. Please see the image below. The center panel fills the space and continues to fill the space when resizing there is no gap. |
You can achieve your requirement “Docking windows without any gap” by set DockingManager’s property DockToFill as true. Please find the code snippet and sample for the same.
Note: If you enable document mode, Document container will occupy the available empty space. | |
But if you try to dock using "Fill" you get this error.
'Docking control with DockingStyle.Fill to DockingManager's host control not allowed.'
|
Currently we have marked DockStyle.Fill type as obsolete and it is unusable. We will consider the use case of this type and try to make it usable in future.
|