title: Dynamic TabControl in WPF MVVM
body: <p>I started using WPF (in C#) some weeks ago and now i need help for some advanced use of tabcontrol.</p>
  
  <p>Fisrt of all, I'm using a MVVM (Model View ViewModel) pattern for designing my application, and I have a constraint that is to try to not add code in code behind file (that inititalise xaml files).</p>
  
  <p>Now my issue is to create dynamically new tabItems in my MainWindow View (Window) that shows an instance of my Detail View (Page) when I click on a button ("New Tab" button for example).</p>
  
  <p>I have found a lot off stuff about dynamic creation off tabitem on the web but often with modifications in code behind files. I though using binding but I don't know how can I use binding to this kind of stuff.</p>