Xceed Docking Windows for WinForms v2.3 Documentation
DockTo(DockTargetHost,DockPosition) Method


Xceed.DockingWindows Namespace > ToolWindow Class > DockTo Method : DockTo(DockTargetHost,DockPosition) Method
A DockTargetHost value representing the DockHost in which to dock the ToolWindow, or the ClientHost around which to dock the ToolWindow.
A DockPosition value indicating the position where the ToolWindow will be docked. Cannot be Group.
Docks the ToolWindow in or around the specified host.
Syntax
'Declaration
 
Public Overloads Sub DockTo( _

   ByVal targetHost As DockTargetHost, _

   ByVal position As DockPosition _

) 
'Usage
 
Dim instance As ToolWindow

Dim targetHost As DockTargetHost

Dim position As DockPosition

 

instance.DockTo(targetHost, position)
public void DockTo( 

   DockTargetHost targetHost,

   DockPosition position

)

Parameters

targetHost
A DockTargetHost value representing the DockHost in which to dock the ToolWindow, or the ClientHost around which to dock the ToolWindow.
position
A DockPosition value indicating the position where the ToolWindow will be docked. Cannot be Group.
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

ToolWindow Class
ToolWindow Members
Overload List