Is there any trigger I can create to see if a Tabcontrol has only one TabItem. In these cases I actually have a TabItem collection in the codebehind wich I could possibly use a count method on.
In the case of only one tab I wan't to hide the TabPanel. Can I just call visibility=collapse on it?