BCGControlBar Library for .NET
CloseChain Method (CommandBar)




A last command bar in the chain to close.
Specified if the top level command bar will be captured on closing the chain.
Closes a set of the related command bars.
Syntax
'Declaration
 
Public Overridable Sub CloseChain( _
   ByVal barLast As CommandBar, _
   ByVal setCaptureToTopLevelBar As Boolean _
) 
'Usage
 
Dim instance As CommandBar
Dim barLast As CommandBar
Dim setCaptureToTopLevelBar As Boolean
 
instance.CloseChain(barLast, setCaptureToTopLevelBar)
public virtual void CloseChain( 
   CommandBar barLast,
   bool setCaptureToTopLevelBar
)
public: virtual void CloseChain( 
   CommandBar* barLast,
   bool setCaptureToTopLevelBar
) 
public:
virtual void CloseChain( 
   CommandBar^ barLast,
   bool setCaptureToTopLevelBar
) 

Parameters

barLast
A last command bar in the chain to close.
setCaptureToTopLevelBar
Specified if the top level command bar will be captured on closing the chain.
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

CommandBar Class
CommandBar Members

Send Feedback