I am testing the RadDock control (2025 Q2 version).
The Dock property of dock is set to Fill.
After applying the layout with dock.LoadFromXml(xmlPath, clearDocking: false);, when the MDI main form is resized, the laid-out window does not fill the client area (as indicated by the red arrow in the figure). How can I modify it so that the laid-out window fills the client area of the MDI window?

Hello,
You can use RadDock.Refresh() or RadDock.Invalidate(). You can also refresh the entire form, if needed.
For layout cases, you can force layout recalculations to happen at once, after the whole layout is loaded. You can use the SuspendLayout/ResumeLayout methods:
Private Sub LoadDockLayout() Me.RadDock1.SuspendLayout() Try Me.RadDock1.LoadFromXml("../../new.xml") Me.RadDock1.Refresh() Finally Me.RadDock1.ResumeLayout(True) End Try End SubOr, you may need to refresh windows only, not the whole RadDock, you can use the following approach:
For Each dockWindow In Me.RadDock1.DockWindows dockWindow.Refresh() NextIf you are facing further difficulties with the dock layout, I would recommend you to submit a ticket from your account and provide your project with the custom setup that you have. Thus, we should be able to assist you more effectively regarding your special case.
Regards,
Nadya