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.
Unfortunately, activation email could not send to your email. Please try again.

How to create docking windows using the Windows Forms designer?

 

1. Select the Essential Tools DockingManager component from the Windows Forms designer toolbox and drop it onto the design form.

2. The DockingManager is implemented as an extender provider and adds the SetEnableDocking() property to all controls that are direct children of the form.

3. Set the SetEnableDocking() property to True for those controls that need to be hosted as docking windows. Turning on this property will immediately transform the control into a docking window and adds certain other docking relevant extended properties to the control.

4. The form’s docking layout can now be set by simply dragging the controls around and docking them at the desired location. The docking windows designer automatically persists the form’s dock state and the persisted state is applied when the form is loaded.

For more information please see this video on designing docking layout.

Article ID: Published Date: Last Revised Date: Platform: Control:
1031 04/30/2011 07/10/2014 Windows Forms DockingManager
Tags:
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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.