BCGControlBar Library for .NET
PopupMenuBar Constructor(CommandBar,ToolbarMenuButton)




Gets the command bar which contains the parent menu button for a popup menu bar.
The parent MenuButton for a popup menu bar.
Initializes a new instance of the PopupMenu class with specified toplevel command bar and parent popup menu button.
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 PopupMenuBar(topLevelCommandBar, parentMenuButton)
public PopupMenuBar( 
   CommandBar topLevelCommandBar,
   ToolbarMenuButton parentMenuButton
)
public: PopupMenuBar( 
   CommandBar* topLevelCommandBar,
   ToolbarMenuButton* parentMenuButton
)
public:
PopupMenuBar( 
   CommandBar^ topLevelCommandBar,
   ToolbarMenuButton^ parentMenuButton
)

Parameters

topLevelCommandBar
Gets the command bar which contains the parent menu button for a popup menu bar.
parentMenuButton
The parent MenuButton for a popup menu bar.
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

PopupMenuBar Class
PopupMenuBar Members
Overload List

Send Feedback