-2

I'm looking for a bootstrap CSS style of a vertical tab control, like at this page:

enter image description here

https://dbtek.github.io/bootstrap-vertical-tabs/demo.html

If I'm going to do it myself, what WPF control should I begin with as the base class? (I don't think the WPF tabcontrol should be a starting point because the styles are so different)

Thanks

Felix
  • 2,673
  • 3
  • 30
  • 38
  • 2
    Possible duplicate of [How to build vertical tab sets in WPF?](https://stackoverflow.com/questions/3953286/how-to-build-vertical-tab-sets-in-wpf) – ASh Aug 29 '17 at 14:43

1 Answers1

1

You can re-style the TabControl and the TabItems to look like you want. It may require some effort though.

You can right-click on a TabControl in design mode in Visual Studio or in Blend and choose Edit Template->Edit a Copy to copy the default style into your XAML markup and then edit it as per your requirements. Edit Additional Templates->Edit Generated Item Container (ItemContainerStyle) will do the same thing for the TabItem container.

Also note that you can set the TabStripPlacement property of the TabControl to Left to change the position of the tabs.

mm8
  • 163,881
  • 10
  • 57
  • 88