I have a wpf Tabcontrol with two TabItem tabs are placed to left.
Now I want to show headers content vertically and adjust tab width to the content.
Something like this.
I tryed using a Header template rotating the label in it, text were rotated but tab remains it's shape.
Here my template:
<TabItem.HeaderTemplate>
<DataTemplate>
<Grid>
<Label Content="Hola mundo" Margin="15,0">
<Label.RenderTransform>
<RotateTransform Angle="90"/>
</Label.RenderTransform>
</Label>
</Grid>
</DataTemplate>
</TabItem.HeaderTemplate>
Some sugestions?