Version

DockControls Method

Creates a new dock area and new DockableControlPane instances for the specified controls.
Syntax
'Declaration
 
Public Function DockControls( _
   ByVal controls() As Control, _
   ByVal location As DockedLocation, _
   ByVal paneStyle As ChildPaneStyle _
) As DockAreaPane
public DockAreaPane DockControls( 
   Control[] controls,
   DockedLocation location,
   ChildPaneStyle paneStyle
)

Parameters

controls
Controls to be contained in the dock area
location
Location of the new dock area
paneStyle
Style used to position the control panes

Return Value

A new dock area pane
Remarks

The functionality is similar

If any of the controls are managed by an existing DockableControlPane, an exception will be thrown.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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