BCGControlBar Library for .NET
DockCommandBar(CommandBar,Int32) Method




The command bar to dock.
The index of the DockBarRow to set for the command bar.
Docks the specifies command bar  to the  DockBarRow with the specified index  and makes the current dock bar parent for this command bar.
Syntax
'Declaration
 
Public Overloads Function DockCommandBar( _
   ByVal bar As CommandBar, _
   ByVal rowIndex As Integer _
) As Boolean
'Usage
 
Dim instance As DockBar
Dim bar As CommandBar
Dim rowIndex As Integer
Dim value As Boolean
 
value = instance.DockCommandBar(bar, rowIndex)
public bool DockCommandBar( 
   CommandBar bar,
   int rowIndex
)
public: bool DockCommandBar( 
   CommandBar* bar,
   int rowIndex
) 
public:
bool DockCommandBar( 
   CommandBar^ bar,
   int rowIndex
) 

Parameters

bar
The command bar to dock.
rowIndex
The index of the DockBarRow to set for the command bar.
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

DockBar Class
DockBar Members
Overload List

Send Feedback