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




The command bar to dock.
The dock row index to set for the command bar as current.
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 rowIndex As Integer _
) As Boolean
'Usage
 
Dim instance As CommandBarManager
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 dock row index to set for the command bar as current.
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