BCGControlBar Library for .NET
CloseMenu Method




If the MainRibbonButton has an opened popup menu, it will be closed.
Syntax
'Declaration
 
Public Sub CloseMenu() 
'Usage
 
Dim instance As MainRibbonButton
 
instance.CloseMenu()
public void CloseMenu()
public: void CloseMenu(); 
public:
void CloseMenu(); 
Remarks
Called by the framework on click on the MainRibbonButton, on selecting any item in the popup menu.
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

MainRibbonButton Class
MainRibbonButton Members

Send Feedback