We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

ToolStripMenuItem in RibbonControlAdv.OfficeMenu.MainPanel

Thread ID:





97761 Jan 5,2011 10:02 PM UTC Jan 7,2011 12:40 PM UTC WinForms 4
Tags: Tools
Mark G
Asked On January 5, 2011 10:02 PM UTC

I'm adding a complex menu structure to OfficeMenu.MainItems. All the items are instances of ToolStripMenuItem. E.g.


where tabs indiciate sub-menus (i.e. Item4 is in sub-menu of Item 3 and Item1 is in sub-menu of MainItems directly).
The issue is that Item3 shows a drop-down arrow appropriately, since it has a sub-menu. However, all items with sub-menus that are directly on MainPanel do not show drop-down arrows (e.g. Item1), even though they do display drop-downs on mouse hover/click. Seems like ToolStripMenuItem.DropDown (instance of ToolStripDropDown) renders these arrows, while OfficeMenu.MainPanel (instance of MenuDropDown.Panel) does not. Changing RenderMode to System or Professional didn't help. Any idea how to display arrows on these items?

Jeraldes J [Syncfusion]
Replied On January 6, 2011 01:08 PM UTC

Hi Mark,

Thanks for yourr interest in Syncfusion Products.

We are unable to reproduce the issue as per you have mentioned. Could you please tell us in which version you are working with. Which would be very much helpful for us to provide you the better solution.

Please let us know if any queries.

Jeraldes J

Mark G
Replied On January 6, 2011 03:26 PM UTC

Version is

Mark G
Replied On January 6, 2011 03:44 PM UTC

To reproduce, just run the following code in any sample with RibbonControlAdv:

ToolStripMenuItem topItem = new RoolStripMenuItem("Top Item");
ToolStripMenuItem child1 = new RoolStripMenuItem("Child 1");
ToolStripMenuItem child2 = new RoolStripMenuItem("Child 2");

You'll see that Top Item does not display a drop-down arrow, even though it has a child and Child 1 does display this arrow.

Iniyen M A [Syncfusion]
Replied On January 7, 2011 12:40 PM UTC

Hi Mark,

Thanks for the update.

You can have the same behavior with better appearance either by using OfficeSplitButton or OfficeDropDownButton.
Please take a look at the sample which is loaded locally in your Syncfusion Dashboard. Please refer the path as follows.

[Dahboard sample location path]
Open the Syncfusion Dashboard >> Windows Forms : Run Locally Installed Samples >> Tools samples >> Product Showcase >> Word 2007 Demo.

You can also assign context menus to the MenuButton if you wish to.

Please refer to the UG documentation under the following link


Please let us know if you have any concerns on this or need any other details.

Iniyen M.A.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon