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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

What is the purpose of the DockingClientPanel? When do I use this class?

Platform: WinForms |
Control: DockingManager |
Published Date: April 30, 2011 |
Last Revised Date: July 10, 2014

 

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.

2X faster development

The ultimate WinForms UI toolkit to boost your development speed.
ADD COMMENT
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.

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