TabItemExt Visibility

Hello, I found a problem. If there are three TabItemExts in TabControlExt, when I set the Visibility of the first TabItemExt to "Collapsed", the content of the TabItemExt still shows by default when I first open this interface, even though the title of the TabItemExt is not visible.How can i solve it?


1 Reply

KA Karthick Arjunan Syncfusion Team December 31, 2025 01:00 PM UTC

Hi Tom.

We’re able to reproduce the reported issue where a TabItemExt with Visibility="Collapsed" still displays its content initially in both TabControlExt and the standard WPF TabControl.

To address this behavior, we’ve implemented a workaround that adjusts the selected tab once the control finishes loading. If the currently selected tab isn’t Visible, the logic automatically selects the next visible tab, and if no visible tabs exist, it clears the selection entirely. This ensures that only the content of a visible tab is displayed when the interface first loads.


We’ve also included a simple sample illustrating this workaround for your reference. The attached sample demonstrates how the selection is corrected during the Loaded event of the TabControlExt, preventing hidden tabs from displaying their content on startup. Please review the attachment and let us know if you have any questions or need further assistance.

Regards,
Karthick Arjunan


Attachment: TabControlExtDemo1_99c24d58.zip

Loader.
Up arrow icon