We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

What is the purpose of the docking client panel in WinForms Docking Manager?

Platform: WinForms |
Control: DockingManager

Purpose of DockingClientPanel

The DockingClientPanel class is intended to serve as a container for the non-dockable controls on non-MDIcontainer forms. When using docking windows in the non-MDI case, all non-dockable controls that were originally intended to be located on the form should instead be placed on the DockingClientPanel. The docking windows framework repositions/resizes the DockingClientPanel in tandem with changes in the host form’s available client area during docking/undocking operations, and thus provides a static surface for hosting the form’s non-dockable controls.

The following sequence illustrates the steps involved in setting up a docking layout using the DockingClientPanel:

1. Add the DockingManager component to the non-MDIcontainer form.

2. Add an instance of the DockingClientPanel control to the form.

3. Resize the DockingClientPanel control so that it is large enough to accomodate the non-dockable controls on the form. Move all non-dockable controls from the form to the DockingClientPanel class.

4. Turn on the EnableDocking property for the applicable controls that still remain on the form. These will be transformed into docking windows.

5. Set the DockingClientPanel.SizeToFit property to True. The DockingClientPanel will now be readjusted to fill the form’s available client rectangle.

Reference link: https://help.syncfusion.com/windowsforms/dockingmanager/docking-client-panel

2X faster development

The ultimate WinForms UI toolkit to boost your development speed.
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile