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




The command bar to dock.
The index of the DockBarRow to set for the command bar.
Specifies the space between the left border of the dock row on horizontal docking or the top border of the dock row on vertical docking and the command bar to dock.
Docks the specifies command bar  to the  DockBarRow with the specified index and with the  specified offset from the beginning of the dockbar.
Syntax
'Declaration
 
Public Overloads Function DockCommandBar( _
   ByVal bar As CommandBar, _
   ByVal rowIndex As Integer, _
   ByVal dockOffset As Integer _
) As Boolean
'Usage
 
Dim instance As DockBar
Dim bar As CommandBar
Dim rowIndex As Integer
Dim dockOffset As Integer
Dim value As Boolean
 
value = instance.DockCommandBar(bar, rowIndex, dockOffset)
public bool DockCommandBar( 
   CommandBar bar,
   int rowIndex,
   int dockOffset
)
public: bool DockCommandBar( 
   CommandBar* bar,
   int rowIndex,
   int dockOffset
) 
public:
bool DockCommandBar( 
   CommandBar^ bar,
   int rowIndex,
   int dockOffset
) 

Parameters

bar
The command bar to dock.
rowIndex
The index of the DockBarRow to set for the command bar.
dockOffset
Specifies the space between the left border of the dock row on horizontal docking or the top border of the dock row on vertical docking and the command bar to dock.
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