Unfortunately, you cannot do what you want. You must add and remove tabs and re-add them if you want to get this effect.
Try using the following syntax:
theTabControl.TabPages.Remove(tabPageA);
Then to re-add:
theTabControl.TabPages.Add(tabPageA);
Hide () - Hiding the control is equivalent to setting the Visible property to false. After calling the Hide method, the Visible property returns false until the Show method is called.
Why you can use it . You can use Show() or Hide() when you know the value and use Visible when you see visibility as a parameter, although I personally tend to always use Visible .
What will he do in this case . In this case, it is useless, but will do nothing . Just like Visible () , the following applies to it:
"TabPage elements are limited by their container, so some properties inherited from the Control base class will not have an effect, including Top, Height, Left, Width, Show and Hide."
source share