Articles in this section

How to display the ToolStripDropDown item when we click the menu button of the WinForms RibbonControlAdv?

Display the ToolStripDropDown item

The MenuDropDownButton property gets or sets the ToolStripDropDown that is to be displayed when the menu button is clicked.

C#

ToolStripDropDown newDropDown = new ToolStripDropDown();
newDropDown.Items.Add(new ToolStripButton("New"));
this.ribbonControlAdv1.MenuButtonDropDown = newDropDown;

VB

Dim newDropDown As ToolStripDropDown = New ToolStripDropDown()
newDropDown.Items.Add(new ToolStripButton("New"))
Me.ribbonControlAdv1.MenuButtonDropDown = newDropDown

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Access denied
Access denied