BCGControlBar Library for .NET
Close Method (ContextPopupMenuBar)




Specifies if the  control bar which contains a parent menu button gets a capture after closing ContextPopupMenuBar.
Closes the ContextPopupMenuBar.
Syntax
'Declaration
 
Public Overrides Sub Close( _
   ByVal setCaptureToTopLevelBar As Boolean _
) 
'Usage
 
Dim instance As ContextPopupMenuBar
Dim setCaptureToTopLevelBar As Boolean
 
instance.Close(setCaptureToTopLevelBar)
public override void Close( 
   bool setCaptureToTopLevelBar
)
public: void Close( 
   bool setCaptureToTopLevelBar
) override 
public:
void Close( 
   bool setCaptureToTopLevelBar
) override 

Parameters

setCaptureToTopLevelBar
Specifies if the  control bar which contains a parent menu button gets a capture after closing ContextPopupMenuBar.
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

ContextPopupMenuBar Class
ContextPopupMenuBar Members
Base Implementation in Close

Send Feedback