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


Xceed.DockingWindows Namespace > ToolWindow Class > ToolWindow Constructor : ToolWindow Constructor(Control,String)
The System.Windows.Forms.Control that will be hosted in the ToolWindow.
A string representing the ToolWindow's unique key.
Initializes a new instance of the ToolWindow class specifying the control that will be hosted in the ToolWindow.
Syntax
'Declaration
 
Public Function New( _

   ByVal control As Control, _

   ByVal key As String _

)
'Usage
 
Dim control As Control

Dim key As String

 

Dim instance As New ToolWindow(control, key)
public ToolWindow( 

   Control control,

   string key

)

Parameters

control
The System.Windows.Forms.Control that will be hosted in the ToolWindow.
key
A string representing the ToolWindow's unique key.
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