BCGControlBar Library for .NET
CustomizeMenuBar Constructor




Gets the parent command bar that is not parented by any menu button.
Specifies a menu button for which the pop-up menu has been called.
Initializes a new instance of the CustomizeMenuBar class.
Syntax
'Declaration
 
Public Function New( _
   ByVal topLevelCommandBar As CommandBar, _
   ByVal parentMenuButton As ToolbarMenuButton _
)
'Usage
 
Dim topLevelCommandBar As CommandBar
Dim parentMenuButton As ToolbarMenuButton
 
Dim instance As New CustomizeMenuBar(topLevelCommandBar, parentMenuButton)
public CustomizeMenuBar( 
   CommandBar topLevelCommandBar,
   ToolbarMenuButton parentMenuButton
)
public: CustomizeMenuBar( 
   CommandBar* topLevelCommandBar,
   ToolbarMenuButton* parentMenuButton
)
public:
CustomizeMenuBar( 
   CommandBar^ topLevelCommandBar,
   ToolbarMenuButton^ parentMenuButton
)

Parameters

topLevelCommandBar
Gets the parent command bar that is not parented by any menu button.
parentMenuButton
Specifies a menu button for which the pop-up menu has been called.
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

CustomizeMenuBar Class
CustomizeMenuBar Members

Send Feedback