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