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




The command bar to dock.
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 specified DockBarRow  with the specified offset from the beginning of the dock bar.
Syntax
'Declaration
 
Public Overloads Function DockCommandBar( _
   ByVal bar As CommandBar, _
   ByVal row As DockBarRow, _
   ByVal dockOffset As Integer _
) As Boolean
'Usage
 
Dim instance As DockBar
Dim bar As CommandBar
Dim row As DockBarRow
Dim dockOffset As Integer
Dim value As Boolean
 
value = instance.DockCommandBar(bar, row, dockOffset)
public bool DockCommandBar( 
   CommandBar bar,
   DockBarRow row,
   int dockOffset
)
public: bool DockCommandBar( 
   CommandBar* bar,
   DockBarRow* row,
   int dockOffset
) 
public:
bool DockCommandBar( 
   CommandBar^ bar,
   DockBarRow^ row,
   int dockOffset
) 

Parameters

bar
The command bar to dock.
row
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