title: Create Tabbed Sidebar with sections WPF
body: <p>I'm trying to create a tabbed sidebar with sections, like the following in WPF. There are a few approaches that I have considered, but is there a simpler and more elegant way to do it?</p>
  
  <p><strong>Approach 1: ListBox</strong></p>
  
  <p>Using a <code>ListBox</code> and binding SelectedItem to a value, which the content control on the right binds to. To differentiate between the header and the sections, I use a DataTemplate selector.</p>
  
  <hr>
  
  <p><strong>Approach 2: RadioBUtton/Check Boxes / ToggleButtons</strong></p>
  
  <p>Using radiobuttons, I bind the selected item to the content control. However, due to the WPF bug, I will have to link them together using value converters.</p>
  
  <hr>
  
  <p><img src="https://i.stack.imgur.com/JFBup.png" alt="Tabbed Interface Split into Sections"></p>
  
  <p><img src="https://i.stack.imgur.com/0Ti5c.png" alt="enter image description here"></p>