BCGControlBar Library for .NET
AddControlBar Method (DockingContainer)




A docking pane to get a control bar.
A control to add to the docking pane.
The DockStyle of the added control
The client rectangle of the target control.
Adds a control bar to the docking pane.
Syntax
'Declaration
 
Public Sub AddControlBar( _
   ByVal control As DockingPane, _
   ByVal controlTarget As Control, _
   ByVal style As DockStyle, _
   ByVal rectDock As Rectangle _
) 
'Usage
 
Dim instance As DockingContainer
Dim control As DockingPane
Dim controlTarget As Control
Dim style As DockStyle
Dim rectDock As Rectangle
 
instance.AddControlBar(control, controlTarget, style, rectDock)
public void AddControlBar( 
   DockingPane control,
   Control controlTarget,
   DockStyle style,
   Rectangle rectDock
)
public: void AddControlBar( 
   DockingPane* control,
   Control* controlTarget,
   DockStyle style,
   Rectangle rectDock
) 
public:
void AddControlBar( 
   DockingPane^ control,
   Control^ controlTarget,
   DockStyle style,
   Rectangle rectDock
) 

Parameters

control
A docking pane to get a control bar.
controlTarget
A control to add to the docking pane.
style
The DockStyle of the added control
rectDock
The client rectangle of the target 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

DockingContainer Class
DockingContainer Members

Send Feedback