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

Gallery and Custom control

Thread ID:





69920 Nov 17,2007 10:55 AM UTC Mar 12,2008 02:51 AM UTC WinForms 3
Tags: Tools
Christian Lützenkirchen
Asked On November 17, 2007 10:55 AM UTC


I am using Office 2007 Ribbons. I want to integrate a treeview with a hierchical structure of reports into the ribbon. In your RibonControlAdv Demo you show the integration of custom controls into the ribbon. But sometimes the treeview consists of 30 rows so you have to scroll a lot. The ToolStripGallery has this nice feature "compact scroller" where you can optionally open a popup.
Is it possible to use a custom control in the gallery?
Sure, I could use a dropdown button with a popup window but a compact scroller would be better. Sometimes the tree is empty, mostly it consists only of one or two items and you always have to open the dropdown!

Do you have any ideas?

Best Regards,

Bhuvaneswari P [Syncfusion]
Replied On November 20, 2007 11:24 AM UTC

Hi Christian,

Thank you for your interest in Syncfusion products.

1. Is it possible to use a custom control in the gallery?

It is not possible to add the custom control in the gallery. Mainly it is to add the image collection. You can use the ToolStripEx to add the custom control.

Please refer the below code snippet:
ToolStripControlHost host1 = new ToolStripControlHost(this.treeViewAdv1);

You can find the sample from the sample browser
\\Syncfusion\EssentialStudio\\Windows\Tools.Windows\Samples\2.0\Office2007 Controls\RibbonControlAdvDemo

2. I could use a dropdown button with a popup window but a compact stroller would be better

If the control size is bigger than the ToolStripEx size, then the dropdown button will be shown to display the control. If you don't want this, you can make the control size as ToolstripEx size. Now it will not show the dropdown button, it will show the control in the toolStripEx area.

Please download the sample from the sample below link:

Please let me know if you have any other queries.

Best Regards,

Christian Lützenkirchen
Replied On November 20, 2007 12:48 PM UTC

Hi Bhuvana,

thank you for your answers. I'll open a Direct Track for a feature request.

Best Regards,

Administrator [Syncfusion]
Replied On March 12, 2008 02:51 AM UTC

Hi Christian ,

Thanks for the update.

Best Regards,


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