Hide the TabControl header

Elazar Leibovich picture Elazar Leibovich · Sep 23, 2009 · Viewed 49.7k times · Source

What's the programmatic way (ie not using styles as in this question, but using code) to hide the TabControl header? I'll be glad for a snippet.

Answer

EightyOne Unite picture EightyOne Unite · Nov 17, 2010

Actually, it's very straight forward to hide the tab strip. You just set each TabItems Visibility to Collapsed. You still see the tab content,...just not the tab header itself.