I have a tab control in my WPF application and I\'m trying to position the TabItem headers to the left as shown in this MSDN post using the below code (copied from the post)