BCGControlBar Library for .NET
RibbonPopupBar Constructor




Specifies the Command Bar which contains the parent menu button.
Specifies the menu button which was clicked by user and the current RibbonPopupBar was opened.
Initializes a new instance of the RibbonPopupBar
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 RibbonPopupBar(topLevelCommandBar, parentMenuButton)
public RibbonPopupBar( 
   CommandBar topLevelCommandBar,
   ToolbarMenuButton parentMenuButton
)
public: RibbonPopupBar( 
   CommandBar* topLevelCommandBar,
   ToolbarMenuButton* parentMenuButton
)
public:
RibbonPopupBar( 
   CommandBar^ topLevelCommandBar,
   ToolbarMenuButton^ parentMenuButton
)

Parameters

topLevelCommandBar
Specifies the Command Bar which contains the parent menu button.
parentMenuButton
Specifies the menu button which was clicked by user and the current RibbonPopupBar was opened.
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

RibbonPopupBar Class
RibbonPopupBar Members

Send Feedback