Articles in this section
Category / Section

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

1 min read

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)
Please sign in to leave a comment
Access denied
Access denied