Why do the order of the tabs keep changing when opening and closing the Form?

Platform: WinForms| Category: TabControl

This seems to be a known issue with the TabControl designer. The designer seems to automatically reorder the tabs while serializing changes made in the designer.

To work around this issue, in your constructor, after the call to InitializeComponent, you could remove all the tab pages and add them back in the desired order.

Share with

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.