This question is locked. New answers and comments are not allowed.
Hi
I need to be able to hide and show tabs depending on various criteria. I thought it would be enough to use Visibility = ElementVisibility.Hidden, which does indeed hide the tab, but its place is not taken up by the following tab.
The functionality I need is that when tab1 is hidden, it is made invisible and for tab2 to move to the left, taking tab1's place. When making it visible again I need the tab to appear again and for tab2 to be shifted to the right.
I've tried calling PerformLayout() without success.
Please could you tell me the official way of achieving this effect.
Best regards
Marek
I need to be able to hide and show tabs depending on various criteria. I thought it would be enough to use Visibility = ElementVisibility.Hidden, which does indeed hide the tab, but its place is not taken up by the following tab.
The functionality I need is that when tab1 is hidden, it is made invisible and for tab2 to move to the left, taking tab1's place. When making it visible again I need the tab to appear again and for tab2 to be shifted to the right.
I've tried calling PerformLayout() without success.
Please could you tell me the official way of achieving this effect.
Best regards
Marek