Articles in this section

How to use ContextMenuStripEx in WinForms RibbonControlAdv ToolstripTabItem?

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

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