Category / Section
How to use ContextMenuStripEx in WinForms RibbonControlAdv ToolstripTabItem?
1 min read
Display the custom menu option
You can display the custom menu options in RibbonControlAdv ToolStripTabItem by handling its MouseDown event and ContextMenuStripEx.
C#
private void toolStripTabItem1_MouseDown(object sender, MouseEventArgs e) { this.contextMenuStripEx1.Show(Cursor.Position); }
VB
Private Sub toolStripTabItem1_MouseDown(ByVal sender As Object, ByVal e As MouseEventArgs) Me.contextMenuStripEx1.Show(Cursor.Position)End Sub
Sample: http://www.syncfusion.com/downloads/support/directtrac/general/RibbonControlAdvMenu830497994.zip