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




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

Parameters

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

MainRibbonPanel Class
MainRibbonPanel Members
Overload List

Send Feedback