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




The command bar to dock.
The dock edge to set for  the command bar as current.
The dock row to set for the command bar as current.
The dock row index to set for the command bar as current.
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 command bar to the specified DockEdge or DockStyle, to the specified DockRow.
Syntax
'Declaration
 
Public Overloads Function DockCommandBar( _
   ByVal bar As CommandBar, _
   ByVal edge As DockEdge, _
   ByVal row As DockBarRow, _
   ByVal rowIndex As Integer, _
   ByVal dockOffset As Integer _
) As Boolean
'Usage
 
Dim instance As CommandBarManager
Dim bar As CommandBar
Dim edge As DockEdge
Dim row As DockBarRow
Dim rowIndex As Integer
Dim dockOffset As Integer
Dim value As Boolean
 
value = instance.DockCommandBar(bar, edge, row, rowIndex, dockOffset)
public bool DockCommandBar( 
   CommandBar bar,
   DockEdge edge,
   DockBarRow row,
   int rowIndex,
   int dockOffset
)
public: bool DockCommandBar( 
   CommandBar* bar,
   DockEdge edge,
   DockBarRow* row,
   int rowIndex,
   int dockOffset
) 
public:
bool DockCommandBar( 
   CommandBar^ bar,
   DockEdge edge,
   DockBarRow^ row,
   int rowIndex,
   int dockOffset
) 

Parameters

bar
The command bar to dock.
edge
The dock edge to set for  the command bar as current.
row
The dock row to set for the command bar as current.
rowIndex
The dock row index to set for the command bar as current.
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

CommandBarManager Class
CommandBarManager Members
Overload List

Send Feedback