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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Change the order of TabnavigationItems

Thread ID:

Created:

Updated:

Platform:

Replies:

150736 Jan 17,2020 01:26 PM UTC Jan 22,2020 07:10 AM UTC WPF 3
loading
Tags: TabNavigationControl
Helmut Wahrmann
Asked On January 17, 2020 01:26 PM UTC

Hi,

having the different TabNavigationItems  of a TabNavigationControl defined inside XAML.
So no ItemsSource is available.

Is there a way to change the order of the TabNavigationItems from inside the program?
i.e. based on User Selection the 2nd tab, defined in xaml, should be shown first and the first should be shown second.

thanks,

Helmut

Gokul Sainarayanan [Syncfusion]
Replied On January 21, 2020 05:25 PM UTC

Hi Helmut,

Thank you for contacting Syncfusion support.

We have checked your reported query in TabNavigation control and we can change the order of the TabNavigationItems using the Remove and Insert functions through which we remove a particular item from a particular position and then insert it into the desired position. We have prepared the sample for the same in which we have changed the order of the two tabs through a button click in the runtime. Please find the sample in the below location.

Sample: https://www.syncfusion.com/downloads/support/forum/150736/ze/TabNavigation1-1627875753  

Please check and let us know whether it resolves the reported query.

Regards,
Gokul S

Helmut Wahrmann
Replied On January 21, 2020 07:08 PM UTC

Hi,

thanks for your info. will use that.

br,

Helmut

Gokul Sainarayanan [Syncfusion]
Replied On January 22, 2020 07:10 AM UTC

Hi Helmut,

Thanks for your update.

Please let us know if you need any further assistance on this.

Regards,
Gokul S

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.

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

Live Chat Icon For mobile
Live Chat Icon