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.

How to remove QuickItems from RibbonBar Header

Thread ID:

Created:

Updated:

Platform:

Replies:

70099 Nov 27,2007 07:17 AM Nov 28,2007 05:31 AM Windows Forms 1
loading
Tags: Tools
Ricardo Faustino
Asked On November 27, 2007 07:17 AM

Hello,

I'm doing an app that uses a RibbonBar. I can add quick items dinamically (ribbonBar.Header.AddQuickItem) but how can I remove it dinamically? You only have Add methods (AddQuickItem and AddMainItem) and two events (OnAdd and OnRemove), but there is no method to remove neither there is a way to get the collection of the quickitems buttons.

Regards,

Ricardo Faustino


Sri Subhashini M [Syncfusion]
Replied On November 28, 2007 05:31 AM

Hi Ricardo,

Thank you for using Syncfusion product.

The RibbonHeader implementation is restricted to access the inner collections, its declared as an "internal" object. The list in which the ToolStripTabItem objects are maintained is declared as a "private" entity. So we can remove the quickitems through designer only.

I regret to let you know that currently we do not provide support for "Removing quickitems from ribboncontroladv through code." feature in our Tools.Window library. We have notified our development team on this regard and will get back to you once we hear back from them.

Regards,
Suba



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.

;