BCGControlBar Library for .NET
DockControl(Control,DockInfo,Boolean) Method




The control to dock
A DockInfo object which contains an information about the docking of the control.
Specifies if the focus will be set to the docking control.
Docks the specified control within the parent form.
Syntax
'Declaration
 
Public Overloads Function DockControl( _
   ByVal control As Control, _
   ByVal info As DockInfo, _
   ByVal setFocus As Boolean _
) As DockingPane
'Usage
 
Dim instance As DockManager
Dim control As Control
Dim info As DockInfo
Dim setFocus As Boolean
Dim value As DockingPane
 
value = instance.DockControl(control, info, setFocus)
public DockingPane DockControl( 
   Control control,
   DockInfo info,
   bool setFocus
)
public: DockingPane* DockControl( 
   Control* control,
   DockInfo* info,
   bool setFocus
) 
public:
DockingPane^ DockControl( 
   Control^ control,
   DockInfo^ info,
   bool setFocus
) 

Parameters

control
The control to dock
info
A DockInfo object which contains an information about the docking of the control.
setFocus
Specifies if the focus will be set to the docking control.
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

DockManager Class
DockManager Members
Overload List

Send Feedback