This question is locked. New answers and comments are not allowed.
I have a situation where if there is a single TAB in the TAB Control I do not want the Header Row section with the tabs to show, however if there are more than 1 then I do. The tabs are dynamically created at runtime.
How can I hide the tab header?
TabHeader.Visibility = tabControl.Items.Count > 1 ? Visibility.Visible : Visibilty.Collapsed;
Trevor
How can I hide the tab header?
TabHeader.Visibility = tabControl.Items.Count > 1 ? Visibility.Visible : Visibilty.Collapsed;
Trevor