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




A control to be docked.
Specifies if the focus will be set to the docking control.
Specifies that the control should be docked out of others docking control, near the border of the form.
Docks the specified control within the parent form.
Syntax
'Declaration
 
Public Overloads Function DockControl( _
   ByVal control As Control, _
   ByVal setFocus As Boolean, _
   ByVal outerEdge As Boolean _
) As DockingPane
'Usage
 
Dim instance As DockManager
Dim control As Control
Dim setFocus As Boolean
Dim outerEdge As Boolean
Dim value As DockingPane
 
value = instance.DockControl(control, setFocus, outerEdge)
public DockingPane DockControl( 
   Control control,
   bool setFocus,
   bool outerEdge
)
public: DockingPane* DockControl( 
   Control* control,
   bool setFocus,
   bool outerEdge
) 
public:
DockingPane^ DockControl( 
   Control^ control,
   bool setFocus,
   bool outerEdge
) 

Parameters

control
A control to be docked.
setFocus
Specifies if the focus will be set to the docking control.
outerEdge
Specifies that the control should be docked out of others docking control, near the border of the form.
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