BCGControlBar Library for .NET
RemoveCommandBar Method (DockBar)




The command bar to remove.
Removes the specified command bar from the DockBar. If the DockBar has no command bars  its DockBarRow is also removed.
Syntax
'Declaration
 
Public Sub RemoveCommandBar( _
   ByVal bar As CommandBar _
) 
'Usage
 
Dim instance As DockBar
Dim bar As CommandBar
 
instance.RemoveCommandBar(bar)
public void RemoveCommandBar( 
   CommandBar bar
)
public: void RemoveCommandBar( 
   CommandBar* bar
) 
public:
void RemoveCommandBar( 
   CommandBar^ bar
) 

Parameters

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

Send Feedback