Xceed Docking Windows for WinForms v2.3 Documentation
DockHost Property


Xceed.DockingWindows Namespace > DockLayoutManager Class : DockHost Property
Gets the control in which ToolWindows can be docked.
Syntax
'Declaration
 
Public ReadOnly Property DockHost As Control
'Usage
 
Dim instance As DockLayoutManager

Dim value As Control

 

value = instance.DockHost
public Control DockHost {get;}

Property Value

A System.Windows.Forms.Control representing the control in which ToolWindows can be docked.
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