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




The command bar to dock.
The dockstyle of the command bar.
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 dock As DockStyle _
) As Boolean
'Usage
 
Dim instance As CommandBarManager
Dim bar As CommandBar
Dim dock As DockStyle
Dim value As Boolean
 
value = instance.DockCommandBar(bar, dock)
public bool DockCommandBar( 
   CommandBar bar,
   DockStyle dock
)
public: bool DockCommandBar( 
   CommandBar* bar,
   DockStyle dock
) 
public:
bool DockCommandBar( 
   CommandBar^ bar,
   DockStyle dock
) 

Parameters

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

CommandBarManager Class
CommandBarManager Members
Overload List

Send Feedback