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.
Unfortunately, activation email could not send to your email. Please try again.

ToolStripGalleryItem clickable?

Thread ID:

Created:

Updated:

Platform:

Replies:

74239 Jun 4,2008 05:34 AM Jun 9,2008 01:36 AM Windows Forms 3
loading
Tags: Tools
Robin Karlsson
Asked On June 4, 2008 05:34 AM

Hi!

Why isn't the ToolStripGalleryItem dervied from control? I would like to add the functionality of right-click in a toolstrip gallery. On the right-click, a context menu would open.

Compare to the Styles gallery in Word, when you right-click there is some options for just that style.

Do you all get what I mean? Have anyone had success while doing this? Is there another way?

/Robin


Administrator [Syncfusion]
Replied On June 4, 2008 06:32 AM

Hi Robin,

Thank you for using Syncfusion products.

Show context menu when right click on ToolStripGalley

By default, RibbonControlAdv allows you to show the contextmenu when right clicking on the ToolStripGallery.

The following sample demonstrates the same.

http://websamples.syncfusion.com/samples/Tools.Windows/F74239/main.htm

Please let me know if I misunderstood your requirement.

Regards,
Jaya



Robin Karlsson
Replied On June 4, 2008 06:49 AM

Hi!

Yes, that's the default context menu. But I would like the same behavior as in Word (in other words :), add other alternatives to the context menu for the gallery items).

Please look at the attached image.

/Robin



WordStylesContextMenu_429db768.zip

Mano J [Syncfusion]
Replied On June 9, 2008 01:36 AM

Hi Robin,

We regret for the inconvenience. Currently we don't have support to access the context menu and modify its collection to achieve your required behavior.

We will be adding this support in future releases.

Please let me know if you have any questions.

Regards,
Mano


CONFIRMATION

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.

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.

;