I have a TabControl with 5 tabs, and the contents of one of the tabs depends on some conditions or modes - Sometimes it needs to show one set of controls, on other times it should show an entirely different set of controls.
What is the easiest way to achieve this? I tried setting up two different tabs, and using something like tab.Enabled / Visible - but couldn't find such attributes on the tabs.
I would like the ability the switch modes of operation - go from displaying one tab, to displaying the other tab, and back again. Mind you, I don't want to change which tab is active, I want to completely hide one tab, then show it and hide another tab.