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.

Disable or Hide option menu "Minimize The Ribbon" from the Ribbon Component

Thread ID:

Created:

Updated:

Platform:

Replies:

70607 Dec 18,2007 01:48 PM Jan 2,2008 03:00 PM General Discussion 2
loading
Tags: General Discussion
Ricardo Faustino
Asked On December 18, 2007 01:48 PM

Hello there,

how can I customize the system menu from the quick access toolbar?

how can I disable or hide the option "Minimize the ribbon" from the quick access toolbar?

thanks in advance,

Ricardo Faustino


Pavan Kumar K [Syncfusion]
Replied On December 26, 2007 07:43 AM

Hi Ricardo,

Sorry for the delay.

1)I am afraid that I could not understand the question " How can i customize the system menu from the quick access toolbar?". I would really appreciate if you provide me with more information regarding this.

2)I regret to let you know that currently we do not provide support for hiding "Minimize the ribbon" from the quick access toolbar in Ribbon control in our code library. We have notified our development team in this regard and will get back to you once we hear back from them.

Thank you for your patience.

Best regards,
Pavan k.



Vinoth Kumar K [Syncfusion]
Replied On January 2, 2008 03:00 PM

Hi Ricardo,

Thanks for using syncfusion products.

Regarding question 2, you can disable 'Minimize the Ribbon' option by setting 'AllowCollapse' property (available in v.6.1) to false. But you can hide this option by handling BeforeDropDownPopup event and remove the " Minimize the Ribbon " item from the DropDown list. Below are the codes:

ToolStripItem removeItem;
private void ribbonControlAdv1_BeforeCustomizeDropDownPopup(object sender, DropDownEventArgs e)
{
foreach (ToolStripItem item in e.DropDown.Items)
{
if (item.Text == "Mi&nimize the Ribbon")
removeItem = item;
}
e.DropDown.Items.Remove(removeItem);
}

Please refer to the sample in the below link which illustrates the above.
http://websamples.syncfusion.com/samples/Tools.Windows/F70607/main.htm


Please let us know if you have any other concerns. We will be glad to assist you.

Regards,
Vinoth


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.

;