Xceed Docking Windows for WinForms v2.3 Documentation
DockLayoutManager Constructor(Control,Control)


Xceed.DockingWindows Namespace > DockLayoutManager Class > DockLayoutManager Constructor : DockLayoutManager Constructor(Control,Control)
A control representing the control in which the ToolWindows contained in the ToolWindows collection can be docked.
A control representing the control around which the ToolWindows contained in the ToolWindows collection can be docked. Can be a null reference (Nothing in Visual Basic).
Initializes a new instance of the DockLayoutManager class specify the DockHost and ClientHost.
Syntax
'Declaration
 
Public Function New( _

   ByVal dockHost As Control, _

   ByVal clientHost As Control _

)
'Usage
 
Dim dockHost As Control

Dim clientHost As Control

 

Dim instance As New DockLayoutManager(dockHost, clientHost)
public DockLayoutManager( 

   Control dockHost,

   Control clientHost

)

Parameters

dockHost
A control representing the control in which the ToolWindows contained in the ToolWindows collection can be docked.
clientHost
A control representing the control around which the ToolWindows contained in the ToolWindows collection can be docked. Can be a null reference (Nothing in Visual Basic).
Remarks

In an SDI application, the DockHost is the control in which the ToolWindows can be docked while the ClientHost, which must be a child of the DockHost and is optional, is the control around which ToolWindows can be docked (work area). The ClientHost will always be docked in the DockHost and will occupy the space not occupied by ToolWindows. This means that if no ToolWindows are contained in the DockHost, the ClientHost will occupy all of the space in the DockHost. In an Mdi application, the ClientHost will always be the Mdi client (where the Mdi children are located) of the Mdi container (DockHost). Any control assigned as the ClientHost will be ignored.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DockLayoutManager Class
DockLayoutManager Members
Overload List