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

Change the Tab Display order in a TabBarSplitterControl programmatically.

Thread ID:





75451 Jul 25,2008 06:24 PM UTC Jul 28,2008 12:52 PM UTC WinForms 1
Tags: Tools
Administrator [Syncfusion]
Asked On July 25, 2008 06:24 PM UTC


How can I change the tab display order in a TabBarSplitterControl programmatically?

I know at runtime if you drag and drop a page over the other it will change but how can I achieve this in code?

To be more precise say I want to Add Tab Pages “A”, “B” & “C” to the TabBarSplitterControl and it will be displayed in the order we add like “A” then “B” and then “C”.

But when ever I add a new Tab Page “D” it should be the first one to be displayed in the list of tab pages. I.e. the display order should be “D”,”A”,”B”,”C”.

And when I add Tab page “E” , it works as normal ,i.e. the display order will remain to be “D”,”A”,”B”,”C”,”E”.

Please let me know how this can be achieved in code dynamically?

Sreekesh NK

Administrator [Syncfusion]
Replied On July 28, 2008 12:52 PM UTC

Hi Sreekesh,

Thank you for interest in Syncfusion Products.

You can use the tabBarSplitterControl1.TabBarPages.Insert()method to insert the tabpages in specified position/index in a tabBarSplittercontrol.
Here is a code snippet that shows you “How to insert the tabpage in a tabbarSplitter control”.


tabBarSplitterControl1.TabBarPages.Insert(int index, tabpage value);


I have attached the sample for your reference. You can download the sample from the following page.

Please let me know if you have any queries.



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