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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How do I change the order of main tabs in a RibbonControlAdv ?

Thread ID:

Created:

Updated:

Platform:

Replies:

91517 Nov 22,2009 06:44 PM UTC Dec 7,2009 12:27 PM UTC WinForms 3
loading
Tags: Tools
Matthew Daniels
Asked On November 22, 2009 06:44 PM UTC

Hi

I'm putting together a ribbon bar in the designer and have added some main tabs to it. I'd like to change the order of the tabs but they do not seem to support dragging and dropping? Is there an easier way of changing the order of the tabs in the designer rather than deleting them and adding them back in the order I want?

Nandakumar R [Syncfusion]
Replied On November 23, 2009 04:16 AM UTC

Hi,

Can you please try the Position property and let me know if that works?

[C#]
IRibbonItems m_items = this.ribbonControlAdv1.Header.MainItems;
foreach (ToolStripTabItem m_item in m_items)
{
MessageBox.Show(m_item.Name.ToString());
}

With this approach, you can get the order of the tab items. To change the position of the items, you can use the Position property.

[C#]
toolStripTabItem3.Position = 0;


Regards,
Nanda

Matthew Daniels
Replied On December 6, 2009 06:20 PM UTC

Thanks but that is a run time solution not a solution for dragging and dropping in the designer.

Dhivya K [Syncfusion]
Replied On December 7, 2009 12:27 PM UTC

Hi Mattew,

Currently it is not possible to drag and drop the tab item of RibbonControlAdv in design time. You will have to set the Position property to change the order. Please let me know if you have any other concern.

Regards,
Dhivya.

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.

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

;