views:

263

answers:

1

Instead of at the top I wan't my tabs on the left side. I changed the template for the the TabControl so that the TabPanel would appear in first column and the second column would host the content.

Problem is I'm not sure how I change the TabPanel's layout so the tabs appear stacked vertically.

I know in normal ItemsControl objects its the ItemsPanel that I should change. How can I do this?

+1  A: 

I think you are talking about showing your TabItem's header to the left vertically. Take a look at the TabStripPlacement property. You can set it to left to achieve what you want.

<TabControl TabStripPlacement="Left">
    ...
    ...
</TabControl>
Veer
Yes this is what I mean though I thought I would have to go change the ControlTemplate for this. However I wan't more control as I wan't them to go bottom up ( start at the left-bottom and go up ) and perhaps wan't the to wrap when not selected ( I'm experimenting with a look and selected tabs are much bigger then unselected ).
Ingó Vals
@Ingó Vals: If you want to customize it, then you can make use of TabItem's Template or HeaderTemplate property.
Veer
Hmm no I doubt it can be changed at the TabItem template. I mean I wan't the tabs to appear at the bottom left instead of top left.I was thinking that like when you have a ItemsControl you can change how things appear in it's itemsPanel property, isn't there something similiar with TabControl/TabPanel.
Ingó Vals